Skip to content

Procedurally Generated Roguellike made in OCaml for Cornell CS 3110 Class Project

Notifications You must be signed in to change notification settings

raahimenon/3110-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3110-project

Group project for CS 3110 of Raahi Menon, Ritwick Bhargava, and Sean Yang

Installation

For installation instructions, please see INSTALL.md

Compilation

To compile our game, run the command make build To play our game, run the command make play To get our docs, run the command make docs To run our test suite, run the command make test

  • Note that due to prevention of filename contamination, if you wish to run make test again you must remove testsave.json from the saves folder To clean build files, run make clean

Gameplay

On running make play, the terminal will prompt you for a load file. On first play, type nothing and hit enter.

Use the W key to move upwards, S to move downwards, A to move left and D to move right.

Use Right Click to pick up objects and interact with exit stairs, use left click to use whatever item you are currently holding. To drop the item in your current inventory slot, press E. To move through your hotbar, scroll with the mouse. Note that you cannot drop an item where it would collid with another object, such as a wall or enemy.

When not holding an item, left click defaults to melee attack.

To quit the game, press Q. To quit and save, press Esc. This will create a new save file that stores your last position in the game. The save file will be the json file in the saves whose number matches the number of files in the folder minus 1 (for example, when you first quit the game it will generate 1.json, assuming you have already run make test meaning two files will be in the directory).

About

Procedurally Generated Roguellike made in OCaml for Cornell CS 3110 Class Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published