Python Character Simulation
My passion is game and game mechanics. So I built a little game initiative engine and status system and simulated it.
An initiative engine is essentially a priority queue that manages character initiative. Initiatives are randomly generated, unlike normal computer tasks. The status system is simply a way of checking if a particular effect is in a dictionary. It can handle if a character is being attacked, or if a character has been paralyzed. It also manages the duration of those effects, in discrete game turns.
This is not a particularly fancy project right now. The simulation done completely in vanilla python using the unittest module (so, basically by grunt work). However, I hope to impliment roleplying game that uses this a distant relative of this system. The repository for the simulator can be found here.