You have to complete the following requierments:
- create a map of maze randomly, by typing in
WIDTH
andHEIGHT
. (NOT larger than 50*50) - ensure that there exists at least one path from Start to End.
- player can move by ‘w''a''s''d', quit by 'q'.
- support automatically way-finding. (help the player!)
- when player won the game, ask whether he/she wants another game. (press [y/n])
You can also add other user-friendly function like timer, dialog, BGM, warning of Invalid Input, etc.