You are on page 1of 10

Animation with PyGame

Charlie Soeder - 15 Dec 2011

What is PyGame?

Python module does game-like things


Graphics, Sound, Event Bindings, etc... sudo apt-get install python-pygame Pygame.org Freenode IRC #pygame

Statistical Properties of Poker Tournaments

The Basics

Extract data Visualize the data!


Each player gets a circle to represent their holdings Each transaction gets a line from player to player

Smooooooooooth
Raw = [#blah blah blah#] From numpy import mean smooth = [] for i in range(0, len(raw)-5):
smooth += [mean(raw[i:i+5])]

Roll the film already!

Moar to come?
The Statistical Thermodynamics of Poker Tournaments v1.0 - Charlie Soeder. ArkFab Working Paper 1 June 2011 ArkFab.org TopologicOceans.wordpress.com