Skip to content

EnhancedJax/HKU-ENGG1340-Prj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HKU-ENGG1340-Prj

A simple maze game. Oh also you can break walls. Oh and it's as big as your terminal.

image

Gameplay demo here!

Features

  • Randomly generated maze, the size of your terminal
  • Directional button minigame
  • Breakable walls
  • Smooth movement
  • Satisfying gameplay
  • Save & Load

How to play

  1. Move
  2. Break
  3. Finish
  4. Replay!
  • Use W/S/Enter to navigate main menu
  • Use WASD to move, complet minigames and break walls
  • Use P to save & pause the game

Coding elements

Coding Elements
Randomly generated mazes Generation of random game sets or events
State, lookup Data structures for storing game status (e.g., arrays, STL containers)
map2D**, grid2D** Dynamic memory management (e.g., dynamic arrays, linked lists, STL containers)
Save & load File input/output (e.g., for loading/saving game status)
Yep Program codes in multiple files (recall separate compilation)
Sure Proper indentation and naming styles
Doxygen-like commenting styles for functions, and inline comments for small explanations In-code documentation

Compilation and running instructions

cd build
make
./game

Notes

  1. Do NOT resize terminal during game runtime
  2. Do NOT scroll terminal during game runtime

Group Members

  • Jax (3036268218)
  • Kevin (3036274059)
  • Sandy (3036222185)
  • Hugo (3036225577)
  • Kim (3036226789)

Attribution

  • Paul Miller's python maze generator for inspiring and providing logic for our maze generation algorithm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published