Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   15 puzzle, help getting started. (http://www.go4expert.com/forums/15-puzzle-help-getting-started-t22159/)

shadowlord1124 21May2010 02:18

15 puzzle, help getting started.
For a school project, I am creating the old "15 puzzle" in which the user has to solve the puzzle by sliding 1 of 15 squares and eventually putting them into order. I've read/researched that an array/grid had to be used and each square requires its own specific class and attributes such as positition ( integer of 0-15 ) and its current state ( also 0-15, but constantly changes). I am confused on how to approach this as we only have gone through the first unit, but I am determined to finish this. Any suggestions?

All times are GMT +5.5. The time now is 07:37.