Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
COMS327
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jake Feddersen
COMS327
Commits
df8457d3
Commit
df8457d3
authored
5 years ago
by
Jake Feddersen
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation
parent
e156d5f8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
feddersen_jacob.assignment-1.08/CHANGELOG
+4
-0
4 additions, 0 deletions
feddersen_jacob.assignment-1.08/CHANGELOG
feddersen_jacob.assignment-1.08/README
+10
-8
10 additions, 8 deletions
feddersen_jacob.assignment-1.08/README
with
14 additions
and
8 deletions
feddersen_jacob.assignment-1.08/CHANGELOG
+
4
−
0
View file @
df8457d3
...
...
@@ -62,3 +62,7 @@
Update map rendering to include colors
Implement flickering colors for multicolor 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
This diff is collapsed.
Click to expand it.
feddersen_jacob.assignment-1.08/README
+
10
−
8
View file @
df8457d3
...
...
@@ -5,13 +5,15 @@ Rogue-Like Game COMS 327
Compile: `make`
Run: `./rlg327`
For all options, run: `./rlg327 -h`
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.
For this assignment I implemented monster and object generation based on the
descriptions we parsed in the last assignment. I used Dr. Sheaffer's code,
only for description parsing. I did not implement any of the optional new
monster abilities yet, and I did not implement object pickup because I could
not find anything about how that should work in the assignment.
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment