A maze game that required users to think inside the box to win
Project description
Getting Inside The Box
This game was developed by the team Benevolent Bonobos, during the Summer Code Jam 2021 held by Python Discord.
Teams that participated in the code jam had to create a TUI based on the theme Think Inside the Box.
Contents
How To Play
- There are 6 options in start menu:
- Start: Play the normal levels.
- Infinite: Never ending gameplay.
- Tutorial: How to play.
- Credits
- Leaderboard
- Quit
- Use arrow keys to move.
- On starting, a glimpse of the whole maze will be shown. After it disappears, the game will start.
- Player has to reach
&
with minimum collisions with the walls and in minimum time. - Boxes:
- The place to stop and think.
- Will show the part of the maze associated with the box.
- Time slows down here.
- Echolocation:
- Press
e
to make a noise. - An echo will come from the direction in which player last moved.
- The echo will get stronger the nearer the player is to the wall.
- Press
- Persistence:
- It acts as a score for a player.
- Higher is better.
- It will decrease with time.
- It will decrease more and more with each collision.
- Since time slows down in a box, persistence will decrease slower inside the box.
- It is visible in the top right corner.
- In the top left corner, the number of collisions made in the current level is visible.
- On pressing
q
, the game will be paused. There will be an option to play again or quit. - In normal mode, a player can play 9 levels.
- In infinite mode, a player will have to press
q
for quitting. - After completing all normal levels, a player, if they want, can put their name in the leaderboard which stores their score.
Requirements
- Python 3.8.6 or greater
- A stereo headset (for echolocation)
- The terminal window should be sufficiently large (At least
50 x 15
characters in width and height). You should not resize the terminal during the game.
Installation
Windows
pip install maze-gitb
Linux
pip3 install maze-gitb
Contribution
1. Clone the repository
git clone https://github.com/Anand1310/summer-code-jam-2021.git
cd summer-code-jam-2021
2. Install required dependencies
Windows
pip install -r dev-requirements.txt
Linux
apt-get install openal-soft
pip3 install -r dev-requirements.txt
3. Run the game
Windows
python main.py
Linux
python3 main.py
Note: |
---|
The player should visit the tutorial for a hands-on understanding of the game. |
Screenshots
Future Improvements
- Reveal the map with animation at the start of the level.
- Allow player to move during echo.
- Fix bug: Hitting leaderboard in the main menu exits game. (This can be fixed with this change, we shall update the repo once the code jam finishes.)
- Fix bug: Game background music does not start on tutorial. (This can also be fixed by this commit.)
- Add Main menu option in pause menu. (This will do it)
About Us
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maze_gitb-1.0.0.tar.gz
(5.9 MB
view hashes)
Built Distribution
Close
Hashes for maze_gitb-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d8f9de44fcd71b1db52fbc57c1400e4570c933d7a9467278313fdac0ff84b52 |
|
MD5 | c465b80bdfa1e7aeb13ea0587798b7ea |
|
BLAKE2b-256 | d1f265ec4305ffd59acc5910b7a9994f17b665a5e9a3e752c97c631a2fdff403 |