Newer
Older
Rogue-Like Game COMS 327
Generates or loads a dungeon map and optionally saves it to a file.
Generates random monsters in the dungeon, and runs the game
autonomously until the pc either wins or loses.
Compile: `make`
Run: `./rlg327 [OPTIONS]`
Run `./rlg327 -h` for a full list and description of options.
The game generates/loads the map as before. The player character is spawned
in a random position, as well as the monsters as specified on the command
line. The PC wanders the dungeon randomly, and the monsters chase it until
they kill the PC or are all dead.
I implemented the turn queue using Dr. Sheaffer's heap again. I implemented
all 16 monster types described in the assignment, though it is sometimes hard
to observe their behaviors because the game ends so quickly. I also
implemented line of sight for the monsters based on Bresenham's line algorithm.