Skip to content
/ yaps Public

YetAnotherPythonSnake (Experiment with Python and PyGame)

License

Notifications You must be signed in to change notification settings

yupswing/yaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


YetAnotherPythonSnake 0.94
Author: Simone Cingano ([email protected]) (https://simonecingano.it)
Pygame Page: https://www.pygame.org/project-YetAnotherPythonSnake-2393-.html
GIT Repository: https://github.com/yupswing/yaps
Licence: MIT

SCREENSHOTS

Title screen Game Credits

DEPENDENCIES

You might need to install some of these before running the game:

Python: https://www.python.org/
PyGame: https://www.pygame.org/ (you can use pip to install pygame)

Game tested on Python 3.9 (3.9.16) and PyGame 2 (2.4) on Linux and Windows

RUNNING THE GAME

Open a terminal/console and "cd" to the game directory and run: python yaps.py

HOW TO PLAY THE GAME

Arrows or WASD to move
P to pause
M to toggle music

Red apples give 1 point Blue apples give 5 points (they disappear quickly) Black Blocks appear casually on the map. Avoid them! And last, but not least, don't eat yourself!

SOME INFOS AND CREDITS

This game is brought to you by Simone Cingano's not-so-skilled hands.

I took inspiration from Invention by XASM Studio to learn how to program in PyGame (Thank you!)

This is my first game in pygame, and I know there is a lot of mess in the code.

Anyway... let me give credit who deserves it:

Sound & Music
NLM, Setuniman, Rock Savage, j1987, qubodup, theta4, Freqman
(CC) freesound.org

Title Background Photo
"Close up grass" by Sam Kim
(CC) flickr.com"

CHANGELOG

YAPS 0.94 [2021/04/08]

  • python 3.9 compatible
  • pygame 2.0 compatible
  • converted mp3 to ogg

YAPS 0.93 [2020/07/31]

  • fix highscore
  • clean up code
  • python 3.8 compatible

YAPS 0.92 [2015/01/14]

  • minor fixes
  • licence switched to MIT

YAPS 0.91 [2012/06/27]

  • fullscreen mode on/off
  • some fixes to ensure compatibility with python3 [not tested]
  • highscore and preferences in "local" folder instead of "data"
  • sys.quit() on quit

YAPS 0.9 [2012/06/24]

  • brand new code with awesome features
  • play as a snake that eats apples and moves orthogonally
  • highscores
  • vector graphics
  • resolution independent

YAPS 0.1 [2012/06/21]

  • First prototype

About

YetAnotherPythonSnake (Experiment with Python and PyGame)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages