Creating a game and changing it into JSON representation.