Skip to content
Snippets Groups Projects
Commit dca6373b authored by Jake Feddersen's avatar Jake Feddersen
Browse files

Update documentation before turning in project

parent 4a5495fb
No related branches found
No related tags found
No related merge requests found
......@@ -51,4 +51,8 @@
3/25: Finish converting structs to classes
Make a lot of appropriate functions class members instead
Add Teleportation
3?27: Minor refactors, make better use of OOP
3/27: Minor refactors, make better use of OOP
3/30: Create Monster Description class, parse simple fields
4/2: Parse the rest of the fields
Add error handling for duplicate fields, missing fields
Fix memory leaks and reference errors
......@@ -4,14 +4,14 @@ Rogue-Like Game COMS 327
input until the game is over.
Compile: `make`
Run: `./rlg327 [OPTIONS]`
Run `./rlg327 -h` for a full list and description of options.
Run: `./rlg327`
The game plays as before. New functionality: Fog of War (toggleable using 'f')
Teleportation (using 't'). While in teleport mode, fog of war is lifted.
For this assignment, the program just reads the monster description file
(~/.rlg327/monster_desc.txt), parses it, outputs the parsed contents
to the terminal, and exits. Keywords such as colors and abilities are
just parsed as a vector of strings, for now, since I'm not sure exactly
how I plan to use them in future assignments. I implemented the file parsing
function as a static member of the monster description class, so it can
directly manipulate the fields of the monsters it parses.
In converting the game to C++, I moved a lot of functions to become class
methods. This is particularly the case with dungeon. I also used inheritance
for character > (player_character and monster) classes. I did not convert the
heap that was provided to us by Dr. Sheaffer to a class because we were told
that we did not need to try to modify the code.
I did not implement the optional object parsing component of this assignment.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment