File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export const getTrainingGame = async () => {
5454
5555 // Build game tree from moves
5656 if ( moves . length === 0 ) {
57- throw new Error ( " Moves array is empty. Cannot initialize GameTree." ) ;
57+ throw new Error ( ' Moves array is empty. Cannot initialize GameTree.' )
5858 }
5959 const gameTree = new GameTree ( moves [ 0 ] . board )
6060 let currentNode = gameTree . getRoot ( )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const getTuringGame = async () => {
3939
4040 // Build game tree from moves
4141 if ( moves . length === 0 ) {
42- throw new Error ( 'No moves available to initialize the game tree' ) ;
42+ throw new Error ( 'No moves available to initialize the game tree' )
4343 }
4444 const gameTree = new GameTree ( moves [ 0 ] . board )
4545 let currentNode = gameTree . getRoot ( )
You can’t perform that action at this time.
0 commit comments