Giter Site home page Giter Site logo

rahulshagri / og-snake-game Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 8.0 861 KB

The Original Snake Game. Maneuver a snake in its burrow and earn points while avoiding the snake itself and the walls of the snake burrow.

License: MIT License

Python 100.00%
snake-game dearpygui video-game python3

og-snake-game's Introduction

๐Ÿ Snake Game

A demonstration of the snake game

Maneuver a snake in its burrow and earn points while avoiding the snake itself and the walls of the snake burrow. The snake grows when it eats an apple by default which can be disabled in the settings tab where you can also find all the other customization options.

Game developed purely on python using the Dear PyGui Framework.

๐Ÿ“– Instructions

  1. Make sure you have Python 3 installed and working.

  2. Clone the repo:

git clone https://github.com/RahulShagri/OG-Snake-Game.git

  1. Install prerequisites using pip, preferably in a new environment:

pip install -r requirements.txt

  1. Run the snake_game.py file to start the application.

  2. Customize the speed and colors and hit the Start button to start the game. Maneuver the snake by using the arrow keys or the W, S, D, and A keys on your keyboard. Avoid hitting the snake's body or the walls of the burrow.

  3. Hit the Restart button to restart the game without resetting the highest score. Hit the Reset Stats button to reset all the scores.

  4. Use the Fix snake length checkbox to stop the snake from growing when it eats an apple.

og-snake-game's People

Contributors

rahulshagri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

og-snake-game's Issues

Direction delay

Hello!

Can U please kindly help?

Is it possible to remove delay between key is pressed and direction change?

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.