Welcome to the Snake Game! 🐍🎮
This simple console-based Snake Game is written in Python. It provides an engaging and classic gaming experience where you control a snake, eat apples, and try to score as high as possible.
- Press 'w' to move up
- Press 's' to move down
- Press 'a' to move left
- Press 'd' to move right
- Press 'q' to quit
-
Clone the repository to your local machine:
git clone https://github.com/shashankatthaluri/Invisible_snake_game/snake-game.git
-
Navigate to the project directory:
cd snake-game
- Run the game:
python snake_game.py
Have fun playing the Snake Game!
Colorful console-based interface using colorama Responsive controls for an interactive gaming experience Score tracking and a congratulatory scorecard at the end
- Python 3.x
- colorama: Install using pip install colorama
Controls:
- Press 'w' to move up
- Press 's' to move down
- Press 'a' to move left
- Press 'd' to move right
- Press 'q' to quit
Score: 8
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█ █
█ █
█ █
█ █
█ █
█ █
█ ● ● ● ● █
█ ● ● ⦿ ● █
█ ● █
█ ● █
█ ● █
█ 🍎 █
█ █
█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
Game Over! You hit the wall or yourself.
-------- Scorecard --------
🎉 Congratulations! You scored 8 points. 🎉
🌟 Well done! You're becoming a skilled snake player. 🌟
This project is inspired by the classic Snake Game. Feel free to contribute or customize the game further! If you encounter any issues or have suggestions, please open an issue.
Enjoy the game! 🐍🕹️
Note:
- you can add poison 🌶 where the snake need to escape. This is to just confuse the player.
- you might flickering while playing. Its common in console based games you can modify the speed if you needed.
Feel free to modify and play the game!!