Skip to content

Commit

Permalink
Add game stream finish example with winner
Browse files Browse the repository at this point in the history
  • Loading branch information
tors42 committed Jan 5, 2025
1 parent f134746 commit a8b1fe1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/specs/schemas/GameStream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,21 @@ example:
'black': { 'userId': 'er_or', 'rating': 2288 },
},
},
{
'id': 'A5fcMO3k',
'rated': true,
'variant': 'standard',
'speed': 'bullet',
'perf': 'bullet',
'createdAt': 1525789431889,
'status': 31,
'statusName': 'resign',
'clock': { 'initial': 60, 'increment': 0, 'totalTime': 60 },
'players':
{
'white': { 'userId': 'kastorcito', 'rating': 2617 },
'black': { 'userId': 'er_or', 'rating': 2288 },
},
'winner':'white',
},
]

0 comments on commit a8b1fe1

Please sign in to comment.