snake_lite.py

Created by zetamap

Created on April 10, 2024

7.13 KB

The most small and configurable snake ever (on numworks).
I used the library called pymenu to make the options menu.


Features

  • Very VEERRYY small program, only 240 lines and 7KB of storage
  • A leaderboard
  • Configurable game options :
    • Speed [default: 10]: Speed of snake.
    • Power [default: 2]: Size added after eat a cherry.
    • Snake Size [default: 10]: The size of snake (1 –> 80).
    • Score [default: 1]: Score added when eating a cherry.
    • Expert Mode [default: False]: Snake’s body will grow infinitely.
    • Babu Mode [default: False]: Literary a gost, it can eat walls and itself. 🀣
    • Darkmode [default: True]: A mode for g@mers.
    • Rainbow [default: False]: Enjoy the rainbow!
    • Walls [default: True]: Enable/Disable walls.
  • Dynamic accent color according to OS
  • A start menu to play with default settings
  • Automatic darkmode


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.