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

Update documentation

parent e156d5f8
No related branches found
No related tags found
No related merge requests found
...@@ -62,3 +62,7 @@ ...@@ -62,3 +62,7 @@
Update map rendering to include colors Update map rendering to include colors
Implement flickering colors for multicolor monsters Implement flickering colors for multicolor monsters
Implement generation restrictions for unique monsters Implement generation restrictions for unique monsters
4/8: Add item factory, implement item class and rendering
4/9: Actually add item generation to the game
Fix memory leaks
...@@ -5,13 +5,15 @@ Rogue-Like Game COMS 327 ...@@ -5,13 +5,15 @@ Rogue-Like Game COMS 327
Compile: `make` Compile: `make`
Run: `./rlg327` Run: `./rlg327`
For all options, run: `./rlg327 -h`
For this assignment, the program just reads the monster description file For this assignment I implemented monster and object generation based on the
(~/.rlg327/monster_desc.txt), parses it, outputs the parsed contents descriptions we parsed in the last assignment. I used Dr. Sheaffer's code,
to the terminal, and exits. Keywords such as colors and abilities are only for description parsing. I did not implement any of the optional new
just parsed as a vector of strings, for now, since I'm not sure exactly monster abilities yet, and I did not implement object pickup because I could
how I plan to use them in future assignments. I implemented the file parsing not find anything about how that should work in the assignment.
function as a static member of the monster description class, so it can
directly manipulate the fields of the monsters it parses.
I did not implement the optional object parsing component of this assignment. I implemented color using ncurses and I got color flickering NPCs using
the ncurses timeout() function. I implemented stacks of objects by creating
a vector for each position in the map, so the depth of a stack of items
has no hard limit.
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