Skip to content

Basic n-puzzle application built in JavaScript, HTML, CSS (Bootstrap).

Notifications You must be signed in to change notification settings

McSam27/n-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N - Puzzle

Daniel Luong & Sam McCagg


Designing a n-puzzle game, with parity checker, solve button, and random/new game button.

TO DO

add a solver in the background that adds moves to a stack that will display on the screen or else we can have all moves on the screen be displayed add random blank spot and then where the blank spot falls whether even or odd HIGH PRIORITY make sure input works for all sizes add a better shuffler that actually works probably will use Fisher-Yates shuffle algorithm http://kociemba.org/fifteen/fifteensolver.html https://www.cs.bham.ac.uk/~mdr/teaching/modules04/java2/TilesSolvability.html https://www.cs.bham.ac.uk/~mdr/teaching/modules04/java2/TilesSolvability.html

a technique to solving is to move each piece into the correct spot int lexographic order.

Double check Solvability function later

About

Basic n-puzzle application built in JavaScript, HTML, CSS (Bootstrap).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published