Scoring
Basic packets about point scoring during a game.
Overview
This section will cover the basic packets that will be a part of every game wh. A match is played the best 3 of 5 games. For each game, the first player to reach 11 points wins that game, however a game must be won by at least a two point margin. A point is scored after each ball is put into play.
Point Started
Point Scored
1. Point Started
This packet indicates that a point has now started and the ball has been served.
2. Point Scored
The aim in table tennis is to strike the ball in a manner that the opponent fails to make contact with the ball, which earns the player a point. If the ball hits the net and it fails to bounce over into the opponent’s half, or hits it over the net and out of bounds without coming into contact with the table, the opponent gets a point.
In doubles, the scoring rule is a bit different. Here, the server and the partner have to alternate while attempting to push the ball on to the opponent’s side of the table. Here the service alternates as well.
The opponent can also be awarded a point if you hit the ball outside the playing surface or if the ball comes in contact with any part of your body while attempting a shot.
Once the point has completed (scored), a PointScored
packet will be emitted, and the field called scoredBy
, is indicating which player won the point.
This packet includes an array providing the scores
for each period within the game
, ordered such that the score for period one is listed first, followed by the score for period two, and so on.
Also after a game has been won, the field calle gameWon
shows which team won the game.
Last updated