Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Implementation of Bloxorz in Haskell: https://www.miniclip.com/games/bloxorz-classic/en/ And of the mechanisms for solving levels using iterative deepening depth-first search in the states space. For running tests: Pentru rularea testelor: stack exec ghci BloxorzTest.hs *BloxorzTest.hs> main ---> rulează toate testele/ runs all tests *BloxorzTest.hs> runTestPP nume_test ---> rulează un test anume cu o valoare din:/ runs a specific test from: [ testAddObject , testShowLevels , testMove , testActivate , testLimitedDfs , testIterativeDeepening , testExtractPath , testSuccessors , testIsGoal , testSolve , testHeuristic ] For playing in command line: Pentru a juca în linia de comandă: -- setati workingOs la Windows sau Linux/ set workingOs stack exec ghci Interactive.hs *Interactvie.hs> play level0 ---> pornește în linia de comandă level0 *Interactvie.hs> visualize level0 False ---> simulează succesiunea de mutări găsită care duce la un nivel câștigat Înlocuiți False cu True, pentru a folosi euristica./ simulates the sequence of moves found to win the game; replace False with True to use heuristic