Skip to content

Project files for assignments as a part of COMS 327

Notifications You must be signed in to change notification settings

somerandow/COMS327

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code as of now places the PC in the center of first generated room.
Code starts by default in look mode, so pressing escape allows you to move the PC.
Will eventually add an indicator to the first row of terminal stating which mode is active.
Code is working, has occassional issue with drawing the dungeon border. Need to shrink ncurses window.
Stairs are implemented, it will add stairs to two rooms in the dungeon.

NOTE: There is a memory leak issue, though I cannot figure out why. It does not come from changing the dungeon
floor, but from a totally different part. I have included my valgrind output in VALGRIND.
I have the feeling I am missing something obvious.

Code will auto-exit if player and monster come in contact. No message is printed for now, as we will be changing
the interaction between monsters and PC in later project.

All controls conform to project description, no additional controls added.

Usage is: dungeon [options]
--save save dungeon to file at ./rlg327
--load load dungeon from file at ./rlg327
--help display this help message
--nummon allows for specification of number of monsters

About

Project files for assignments as a part of COMS 327

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published