Open source snake game

“Snake” is a classic arcade game where the player controls a growing line,
called the “snake,” which moves around the screen to eat food items.
Each time the snake eats, it becomes longer, making the game more challenging.
The objective is to avoid colliding with the walls or the snake’s own body while
trying to consume as much food as possible to achieve a high score.
The game continues until the snake crashes, and the player’s goal is to achieve
the highest score possible before losing.

snake_game_v1.0.zip (345.4 KB)

It has been successfully tested on the following platforms:

  • Windows 10/11 | Python 3.11.9 |
    wxPython 4.2.3 | wxWidgets 3.2.6

  • Linux Mint 21 | Python 3.10.12 |
    wxPython 4.2.1 gtk3 | wxWidgets 3.2.2.1

  • MacOS Sequoia 15 | Python 3.12.4 |
    wxPython 4.2.2 | wxWidgets 3.2.6




Have fun!