use websocket for game