https://github.com/carlescn/snake_game
An implementation of the classic Snake game using Pygame and NumPy.
https://github.com/carlescn/snake_game
numpy pygame python snake-game
Last synced: 2 months ago
JSON representation
An implementation of the classic Snake game using Pygame and NumPy.
- Host: GitHub
- URL: https://github.com/carlescn/snake_game
- Owner: carlescn
- License: gpl-3.0
- Created: 2023-02-10T00:37:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T17:58:07.000Z (over 3 years ago)
- Last Synced: 2025-02-22T11:41:23.563Z (over 1 year ago)
- Topics: numpy, pygame, python, snake-game
- Language: Python
- Homepage: https://carlescn.github.io/snake_game/
- Size: 319 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  Snake
[](https://github.com/carlescn/rclone-jobman/blob/main/LICENSE)
[](https://code.visualstudio.com/)
[](https://www.python.org/)
[](https://www.pygame.org/)
[](https://numpy.org/)
This the classic Snake game, implemented using Pygame and NumPy arrays.
I tried imitating the game Snake II of old Nokia phones.
You control the snake with the arrow keys
or by clicking / tapping the edges of the screen.
You can try it here:
(note: on this web version the beep sound doesn't play most of the times.
I'll have to figure it out.)

## To do
- Figure how the scoring system worked on Snake II.
- Figure out the frequency of the bonus on Snake II.
- Make a menu for selecting the speed.
- Fix the sound problem on the web version.