grid_game is a single python file you can use in an IDE or your Python IDLE.
Instructions for setup:
- create new python file on your IDE or Python IDLE. Alternatively, you can simply copy and paste this grid_game.py file in your IDE/Python IDLE structure, in which case, skip to step 3).
- copy and paste contents of grid_game.py into the python file you have made in step 1)
- run the file
Note: The default size of the grid is 4x4 with one blank spot. you can play this game on a square of side N as long as the main() call contains a string of numbers from 1 to N^2 separated by commas and with one blank.