ECE 2524

Introduction to Unix for Engineers

Review of the Combat Simulator

Usage

The Combat Simulator (https://github.com/bt2016/combatSimGithub) was very fun to play with. README just ideally tells me to run a certain python file and follow the command instructions from that point. So all I needed to do was run the following command:

$ ./userInterface.py

and no syntax errors were involved as it runs good!

Style

The code overall seemed very well organized. There are clear separations between the modules such as ‘Status’, ‘Item’, ‘Monster’, and other modules. I therefore understood the whole idea of each modules necessary to be creating a combat game. Every module seemed dependent of other modules.

Philosophy

I believe the program does follow one the standar interface patterns in which is the ed pattern since after running the python file, it accepts command lines such as stating the username for the game and randomly allowing to equip a weapon. Such rules are developed into the game when setted up with stats in the player. Overall it generates a good aspect of how the program runs!

I think in most cases for the program, it does follow rule of silence mainly because I expected everything that is required for a combat game. Besides it, random monsters appearing by typing the command monster could be as close as it gets to not following.

The whole aspect of the program is very Unixy because:

  • The ent algorithm makes up the whole core of the program since the player class for instance makes set of objects needed for the game and makes essential logic to the algorithm like other classes.
  • The overall output of the program was kept simple and clean.