Inspiration

We have always wanted to explore procedural generation (how it works, how to code it, etc.) and decided to explore that type of algorithm in our project.

What it does

This is an exploration game where the player can move around and explore a procedurally-generating maze to find the exit. However, it has a twist: unlike other mazes, the player can only see one cell at a time.

Keybindings

W or Up Arrow: Move up
A or Left Arrow: Move Left
S or Down Arrow: Move Down
D or Right Arrow: Move Right
Z or Forward Slash (/): Show/Hide minimap

How we built it

We built this game with HTML, HTML Canvas, CSS, and JavaScript.

Challenges we ran into

Along the way, we ran into several challenges, such as difficulties with HTML Canvas, JavaScript Artimethic and Logic errors, and the game causing the player to be soft-locked (when the maze generates a sequence of cells that causes the player to be completely trapped without being able to get to the exit).

Accomplishments that we're proud of

We're proud of our current procedural generation algorithm, crispy graphics, the minimap, and player movement animations.

What we learned

We learned many things, such as working with HTML Canvas in JavaScript, Depth-First Search (algorithm), Breath-First Search (algorithm), procedural generation, and handling Git merge conflicts.

What's next for Malgo

Malgo can be expanded upon with improvements such as more sophisticated procedural generation, sound effects, better animations, and more code documentation.

Share this project:

Updates