Slide Square Game

From ENGR005_2012
Jump to: navigation, search


The aim of this project is to create code for a game that allows a user, using either click entries or key press entries, to re-arrange jumbled numbers in a cube in their right order.

Screen Shot 2012-11-19 at 12.14.23 PM.png

After each entry the game reloads and the user can continue their attempt. Only boxes surrounding an empty box can move. Those boxes will be colored green and all the others red. Diagonal moves are not allowed.

The number of steps will also be recorded and displayed to the user. this game will be coded in MATLAB.