Added basic function to create a game