Skip to content

Commit 7e66251

Browse files
committed
Add processing for chess locally
1 parent 3c05b41 commit 7e66251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/core/src/player.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ export class Player {
195195
// TODO(michaelaaron) - Turn this into something more reasonable.
196196
if(this?.replay?.steps && !(this?.replay?.steps as any)?.[0]?.stepType && this?.replay?.configuration?.game === 'repeated_poker') {
197197
this.replay.steps = processEpisodeData(this.replay, 'repeated_poker')
198+
} else if (this?.replay?.steps && !(this?.replay?.steps as any)?.[0]?.stepType && this?.replay?.configuration?.game === 'chess') {
199+
this.replay.steps = processEpisodeData(this.replay, 'chess')
198200
}
199201

200202
// Always update controls and render the current state.

0 commit comments

Comments
 (0)