creat game does not work on sever end. issues with converting to json.