Playable sinble-player game. Objective is to survive and find the exit, but first you must go on an adventure to find the hidden key! Dodge enemies and search the dungeon for food to survive and get out!
Created a top-view, 2d platformer game using only Java and the Std Draw class from Princeton. Tile Engine and custom pictures used to represent moving characters.
Used a player input seed to randomly generate the map. Created random rooms and connected hallways to each room later on.
Takes in keyboard input to move the character and programmed enemies to move randomly within a certain restricted room. Mouse hover to reveal certain statistics and information about board.
Players move around and lose one tick of health each movement. Find food to replenish health.
Escape from the dungeon by finding the randomly placed key and then finding the randomly placed door.
Created fog of war through rendering each frame and saving text tiles to show previously seen lit up tiles. Ray Casting algorithm used to scan in a circle and reveal tiles based off of specific hunger level.
Can save the file using Java Serializable class, saving each class as a text file that is replaced in the outermost folder.