implemented websockets for game updates with socketio