[go: up one dir, main page]

Skip to content

Interactive Python game involving maze generation with Prim’s, Kruskal’s, DFS, and Random Walk algorithms, with recursive backtracking for maze solving

Notifications You must be signed in to change notification settings

anahitahassan/112-Term-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

112-TA-Simulator

Description

Welcome to 112 TA Simulator! Today you'll be the TA at office hours, helping out students. A part of your job is to prioritize students on the Office hour queue (OHQ), and to get to the student at the top of the OHQ, you must go through a maze. However, throughout the maze are enemy students who are not on the OHQ and they want to hunt you down to bug you with their questions. Your goal, as the TA, is to get to the OHQ student at the end of the maze as fast as possible without bumping into any enemy students in the maze.

How to run

1. Download this repository. 
2. Open the code directory in your code editor. It should include an images folder, a txt file, and about 12 Python files. 
3. Locate the python file 'main.py' (it's one of the 12 Python files) and run it.

Libraries

I did not use any Python libraries.

Shortcut commands

The entire game has 5 different modes: Home screen mode, Pick Your TA mode, 
Help mode, Game mode, and Bonus mode. Each have their own shortcut commands.

Home Screen Mode:
- '1' = enters Game Mode (You will be prompted to do so)
- There is a text editor that uses the alphabet keys, space, backspace, left/right arrow keys, and enter. Use these normally to enter your name. (You will be prompted to do so)

Pick Your TA Mode:
- You may press any key to exit (You will be prompted to do so)

Help Mode:
- You may press any key to exit (You will be prompted to do so)

Game Mode:
- 'r' = resets the bonus round/maze
- 's' = shows the highlighted solutions path
- 'h' = goes to the help screen
- Left arrow key = moves TA left
- Right arrow key = moves TA right
- Up arrow key = moves TA up
- Down arrow key = moves TA down

Bonus Mode:
- 'r' = resets the bonus round/maze
- 'h' = goes back to Home Screen Mode
- Left arrow key = moves TA left
- Right arrow key = moves TA right
- Up arrow key = moves TA up
- Down arrow key = moves TA down

About

Interactive Python game involving maze generation with Prim’s, Kruskal’s, DFS, and Random Walk algorithms, with recursive backtracking for maze solving

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages