Initial work towards some of the boilerplate code in the game logic