Text this: The textbook of Video Game Logic