Connect class game with websockets