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
dca6373b
Commit
dca6373b
authored
5 years ago
by
Jake Feddersen
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation before turning in project
parent
4a5495fb
No related branches found
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.07/CHANGELOG
+5
-1
5 additions, 1 deletion
feddersen_jacob.assignment-1.07/CHANGELOG
feddersen_jacob.assignment-1.07/README
+9
-9
9 additions, 9 deletions
feddersen_jacob.assignment-1.07/README
with
14 additions
and
10 deletions
feddersen_jacob.assignment-1.07/CHANGELOG
+
5
−
1
View file @
dca6373b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
feddersen_jacob.assignment-1.07/README
+
9
−
9
View file @
dca6373b
...
...
@@ -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.
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