Review of a very cool escape game
Usage
The
very fun escape game
was very fun to play. The README
provided clear instructions to
get started, after cloning the project I just ran:
$ python escape.py and
$[command] [argument] to play very easy to play with
Style
The code is very module. There are different classes for different room or item. I can understand the function of the functions by reading their name. The code is also well formatted, very easy to read.
Philosophy
This project follows the Philosophy rules well. The code is very modularized and well formatted..
-
it exhibited a strong single center: the “while true:” loop is the core of this program classes in house.py provide catagories for locations, items, roles and houses in the game.
-
Since the functions are put into modules, it is very easy for future editting. Changing a modules will have little affect on other modules.
However, there is still room for improvement:
- By Rule of Extensibility: Design for the future, because it will be here sooner than you think. there should be comments that describing what each function do or what each class contain. That will make someone else or even yourself easier to manage the program in the future.