New Game Source Code: Squirrel Eat Squirrel

Made a new game with Pygame. It’s called “Squirrel Eat Squirrel”, where you move your squirrel around the screen eating the smaller squirrels and avoiding the larger ones. The more squirrels you eat, the larger you grow. This is a Python 3 game, but I think it’s compatible with Python 2. You need Pygame installed as well.

Use the arrow keys to move around. You can be hit three times before you die.

Download the source & images.

Try modifying the constant variables at the top of the file to change around the game. (Squirrel speeds, number of squirrels, amount of health, etc.) This isn’t part of my Code Comments tutorials, since I haven’t had time to go through and add detailed comments to the code (but it’s still commented.)

2 thoughts on “New Game Source Code: Squirrel Eat Squirrel

  1. Reminds me of fl0w or the early stage in Spore. I was curious and checked it out. Fun little diversion. I think it’s a little fast, but I can’t really complain if I can change the source, can I? Speaking of, very cleanly written. Thanks for showing us this!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>