Ascii Roguelike

Ascii Roguelike

View this project on GitHub.

Irvine Hacks

Irvine Hacks is a 12 hour in-person hackathon event for high school students hosted by Redwood Code Academy. For the 2020 edition, my team consisting of Raymond Wong, Kabir Kwatra, Dante Cofano, and I developed a turn-based roguelike game using ascii-art graphics that runs in the command line.

It features a procedurally generated dungeon maze that the player must traverse while collecting weapons and defeating monsters. The game gets progressively more difficult as the player advances to deeper levels of the roguelike adventure.

Game Board Ascii Roguelike game board printed in a console. Player (@) avoids an Orc (O), and a Behemoth (B).

The game is built in vanilla Java, and takes advantage of basic inheritance class structures to implement different kinds of monsters and interactable entities. The procedural generation algorithm ensures that all parts of the maze are generated such that they are accessible to the player and the monsters.

The most impressive feature is probably the basic enemy path-finding algorithm used to direct the enemies towards the player through the randomly generated maze.

Game Board Player information screen.

Find Ascii Roguelike on GitHub here.

See Raymond Wong’s improved version, Ascii Dungeon, here.


© 2024 Ivar Rydstrom. All rights reserved.

Powered by Hydejack v9.1.6