Added functionality to create game