Progress Plan
Level 1: Start with implementing game
- Start with an array of values (probably 1D since it’s easier)
- Figure out swapping values (moving into free space)
- Method to figure out if something is adjacent to free space
- Swap method
- Shuffle the array of values
- Have Hong write GUI
Level 2: Solving it
- Write algorithm concurrently with GUI
- Classes
- Permutation.java - see Mar22 notes
- Board.java - based around 1D integer array
- Application class
Other: Working example from online: https://lorecioni.github.io/fifteen-puzzle-game/
Alice’s Restaurant