Code to create and retrieve games.