made a game state, passed it to index.html in the context dictionary