Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

A CLI single-player Maze runner game. Group project for COMP2113 by group 100.

Notifications You must be signed in to change notification settings

Purestreams/COMP2113_Group100_Maze_Runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze runner

— a game made for ENGG1340 group project

Video demonstration

Youtube

onedrive

Team Members

(Purestreams) (STARQUANTUM) (Lydialkx) (ActuaryLmao) (Mingyue13)

Game Introduction

Name

This game is called Maze Runner. You are a knight who is trapped in a maze. You need to find the exit to escape from the maze. But first, you need to find the key in the maze. The maze is represented by a 2D array. However, the key and the exit will change positions randomly after some period. Find the key and escape from the maze. Have fun!

Gameplay

  • Press "W" to move up
  • Press "A" to move left
  • Press "S" to move down
  • Press "D" to move right
  • Press "E" to start the game
  • Press "CTRL" + "C" to exit the game
  • Press "q" to exit the game
  • A score ranking system
  • A manual for the game

Features & Explanation

  • The Player is represented by 'X'
  • The path that the Player can move is on '......'
  • "T" represents the treasury box, you will get bonus points but lose steps when you encounter it
  • "M" represents the monster, you will get bonus points and more steps when you encounter it
  • If you encounter '#', that is a wall, which cannot be passed through
  • You must first obtain the key 'K'
  • Get to the exit 'E' to escape the maze
  • The key and the exit will change positions randomly after some period
  • The game will end when you get to the exit
  • Displays the number of steps and time taken and your score when the game ends

Game Technical Features

  • Generation of random game sets or events
  • Data structures for storing game status
  • Dynamic memory management
  • File input/output (Scoreboard)
  • Program codes in multiple files
  • Proper indentation and naming styles
  • In-code documentation

Dependencies

The following non-standard C/C++ library has been used in this project:

  • curses.h/ncurses.h , for acquiring user input without blocking the processing and rendering the UI and graphics

Compilation

Run make main under the ~/src directory of the project (i.e. where this file is located) to compile.

If you ran into issues with make main, you can try make clean and then try again with make main.

Execution

The executable file, generated once you have run make main, is located at src/main. Note that config files and logs will be placed at where you called the executable file, not necessarily where the executable file is located.

About

A CLI single-player Maze runner game. Group project for COMP2113 by group 100.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5