Coder Social home page Coder Social logo

anujsngh / summer-code-jam-2021 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anand1310/summer-code-jam-2021

0.0 0.0 0.0 40.27 MB

This maze game was developed by the team Benevolent Bonobos, during the Summer Code Jam 2021 held by Python Discord.

License: MIT License

Python 99.97% Shell 0.03%

summer-code-jam-2021's Introduction

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.

Youtube Link

Contents

How To Play

  1. There are 6 options in start menu:
    • Start: Play the normal levels.
    • Infinite: Never ending gameplay.
    • Tutorial: How to play.
    • Credits
    • Leaderboard
    • Quit
  2. Use arrow keys to move.
  3. On starting, a glimpse of the whole maze will be shown. After it disappears, the game will start.
  4. Player has to reach & with minimum collisions with the walls and in minimum time.
  5. Boxes:
    • The place to stop and think.
    • Will show the part of the maze associated with the box.
    • Time slows down here.
  6. 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.
  7. 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.
  8. In the top left corner, the number of collisions made in the current level is visible.
  9. On pressing q, the game will be paused. There will be an option to play again or quit.
  10. In normal mode, a player can play 9 levels.
  11. In infinite mode, a player will have to press q for quitting.
  12. 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

First view

Box view

Box view

Without box view

Box view

Box view

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

summer-code-jam-2021's People

Contributors

pritam-dey3 avatar jasonho1308 avatar anand1310 avatar oliviavespera avatar hizv avatar stonesteel27 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.