Coding the game