Skip to content

AlephSquirrel/Sna1Ke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Sna1Ke

A Snake game written in 1000 bytes of Python code, using the Pygame library.

2025-08-31-213049_644x672_scrot

Controls: Use IJKL to control the snake.

Features:

  • 32x32 toroidal grid
  • Apple always spawns in an empty space
  • Input buffer
  • Key presses opposite to the direction of the snake's head are ignored
  • Kill screen (shows your final score briefly, then restarts)

This was written for Python 3.7. It should work in both Pygame 1 and 2. Let me know if you encounter any problems trying to run it.

Thanks to @kg583 for helping me save some bytes.

About

A code-golfed Snake game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages