Tennis
This contract extends the shared
Sportbase contract documented in Sports Contracts Reference.
ClockHourTens:char(example:1)ClockHourOnes:char(example:1)Set:char(example:1)TopPoints:string(example:12)BottomPoints:string(example:12)TopSet1Ones:char(example:1)TopSet2Ones:char(example:1)TopSet3Ones:char(example:1)TopSet4Ones:char(example:1)TopSet5Ones:char(example:1)TopServe:char(example:S)BottomServe:char(example:S)BottomSet1Ones:char(example:1)BottomSet2Ones:char(example:1)BottomSet3Ones:char(example:1)BottomSet4Ones:char(example:1)BottomSet5Ones:char(example:1)Court:char(example:1)GameNumberOnes:char(example:1)TopTeamScore:string(example:12)BottomTeamScore:string(example:12)IsDeuce:char(example:1)Advantage:char(example:*)TopPlayerName:string(example:PLAYER 1)BottomPlayerName:string(example:PLAYER 1)TopTeamName:string(example:HOME)BottomTeamName:string(example:GUEST)IsTieBreak:char(example:1)Set1TopTieBreak:string(example:07)Set1BottomTieBreak:string(example:07)Set2TopTieBreak:string(example:07)Set2BottomTieBreak:string(example:07)Set3TopTieBreak:string(example:07)Set3BottomTieBreak:string(example:07)Set4TopTieBreak:string(example:07)Set4BottomTieBreak:string(example:07)Set5TopTieBreak:string(example:07)Set5BottomTieBreak:string(example:07)IsSet3:char(example:1)GameNumberTens:char(example:1)TopSet1Tens:char(example:1)TopSet2Tens:char(example:1)TopSet3Tens:char(example:1)TopSet4Tens:char(example:1)TopSet5Tens:char(example:1)BottomSet1Tens:char(example:1)BottomSet2Tens:char(example:1)BottomSet3Tens:char(example:1)BottomSet4Tens:char(example:1)BottomSet5Tens:char(example:1)PacketTwittle:char(example:1)SetOrdinal:string(example:1st)
Score composition
- This contract uses full point strings (
TopPoints,BottomPoints) for current-game points. - Per-set game counts are represented by char parts:
TopSetN = TopSetNTens + TopSetNOnes(N = 1..5)BottomSetN = BottomSetNTens + BottomSetNOnes(N = 1..5)