Skip to content

Slide the blocks around until you are able to get in them in the proper order, with a built-in AI helper algorithm

Notifications You must be signed in to change notification settings

poncema4/N-Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

N-Puzzle

Language: Racket

This version of N-Puzzle allows the user to try and solve the problem of putting the pieces in order 1-9, the only moving piece is the empty piece which swaps places with the piece in the direction its moving, the game will only end when the pieces are in the proper order, use the help of AI when needed.


Instructions for player:

Move up -> "Up arrow key"

Move left -> "Left arrow key"

Move right -> "Right arrow key"

Move down -> "Down arrow key"

Help from AI -> "Spacebar"



About

Slide the blocks around until you are able to get in them in the proper order, with a built-in AI helper algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages