added support for creating a new game.