Open loudapet opened 1 week ago
"type" : "match_start" "player1" : "username" "player2" : "username"
api/user/info/<str: username>
"type" : "match_pause_server" "match" : "start" "match" : "end"
"type" : "match_pause_client" "match" : "start" "match" : "end"
"type" : "paddle_movement" "direction" : "UP | DOWN"
"type" : "draw" "ball_x" : "value", "ball_y" : "value", "paddle1_x" : "value", "paddle1_y" : "value", "paddle2_x" : "value", "paddle2_y" : "value" "player1_score": "value", "player2_score": "value"
api/user/info/<str: username>