Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bit_twiddler
Octocat-spinner-32 pingy
Octocat-spinner-32 CachedSystemRandom.py
Octocat-spinner-32 README.txt
Octocat-spinner-32 gifsurface.py
Octocat-spinner-32 pathfind.py
Octocat-spinner-32 prime_eff.py
Octocat-spinner-32 randomShapes.py
Octocat-spinner-32 shunting.py
Octocat-spinner-32 snake.py
Octocat-spinner-32 vector.py
README.txt
A bunch of random stuff I made which, I hope, will be helpful to someone... somewhere...

gifsurface - Support for animated gifs in pygame.

pathfind - A pathfinding algorithm using A*. Not well documented.
I use it in the google AI challange (Ants)

prime_eff - A pretty efficient way to get all prime numbers up to n using pure python only + itertools.

shunting - A shunting yard algorithm implementation for converting infix to postfix notation.
Useful for mathematical or logical expressions. Handles parentheses. Not well documented.

vector - A hopefully easy to use vector class for computations with vectors.
I made it a long time ago and would probably change few things in there...

CachedSystemRandom - An efficient cryptographically secure random number generator.

randomShapes - A screensaver showing randomly generated "shapes". Pretty nice to watch.

snake - A simple snake-like game on wrapped map with centered camera. Brings a new
        feel to the old snake. Control the snake with arrows and try to eat food
        before it's too late...
Something went wrong with that request. Please try again.