Skip to content

Commit

Permalink
Merge pull request #408 from tors42/add-game-stream-finish-example
Browse files Browse the repository at this point in the history
Add game stream finish example with winner
  • Loading branch information
schlawg authored Jan 10, 2025
2 parents f134746 + a8b1fe1 commit ed04b2d
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 ed04b2d

Please sign in to comment.