Not recommended to be hungover when playing this game
Usage
-
The README contained everything I needed to easily use the program:
-
The program compiles/runs without errors:
The shebang line specifies
python3
but the code won't run in Python 3, only Python 2. At least with the versions of Python I've tested on. -
The program worked as advertised:
I can move around, but doing anything else results in a crash.
Style
-
The code is cleaning divided into modules and multiple files:
redundant loading of 'rooms.yaml', once in
game.py
and again intest.py
which importsgame
. -
Variable and function names are meaningful:
-
Comments are used where appropriate:
Philosophy
-
The program most closely follows the
ed-like
interface pattern:the implementation of a command interpreter lends itself to providing the option of reading commands from standard input
-
This choice of pattern is a good one for this application:
-
This program follows the Rule of Silence and Least Surprise:
attempting to run non-existent commands caused the program to crash.
-
This program follows the Rules of Modularity and Composition:
4
-
This program follows the Rules of Representation and Simplicity: