Refactoring Boids

Boids, by Daniel Shiffman is a Processing example of the flocking algorithm developed by Craig Reynolds using simple rules for individual “boids” to simulate the... Read more

Pythonic Idioms

I always seem to find myself having to look up the “right” way to structure a piece of logic in Python so I thought I... Read more

Playing Cards with Snakes

Another random discussion in our regular coding dojo led me to think about representing individual playing cards and decks of cards in python. Playing cards... Read more