8-Puzzle Game!
The famous 8-Puzzle Game. Implemented in C, using raylib.
HOW TO PLAY
- Select a mode (using the mouse): either solve the puzzle yourself, or let the computer do it in the minumum number of moves.
- Give initial puzzle. Press number-keys 1-8 for the corresponding numbers and the SPACE bar for the blank tile. The puzzle is filled row-to-row from left to right (see screenshots).
- If you select the manual mode, using the arrow keys, you should try to solve the puzzle, reaching the goal state showed on the screen. EXAMPLE: Pressing the UP arrow key, will move the tile below the blank one, upwards.
- If you select the A.I. mode, press ENTER to generate the next move.
In case of an unsolvable initial puzzle, the game terminates.
If you want to play again, you should refresh the page.
The game was initialy implemented for Linux, hence it has the "EXIT" button, which, in Linux, would close the game's window.
Status | Released |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | gsofron |
Genre | Puzzle |
Made with | raylib |
Code license | GNU General Public License v3.0 (GPL) |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse |
Leave a comment
Log in with itch.io to leave a comment.