enable ai training

This commit is contained in:
2022-07-19 19:02:27 +00:00
parent 21ffed5566
commit c2aa53ac88

View File

@@ -38,12 +38,10 @@ export class BoardComponent implements OnInit {
}); });
}); });
console.log(AllMoves); console.log(AllMoves);
// let ai: AiService; const games = [];
// let games = []; games.push(AllMoves);
// games.push(AllMoves); const ai = new AiService();
// ai = new AiService(); ai.trainOnGames(games, (data)=>{ console.log(data); });
// ai.trainOnGames(games, (data)=>{console.log(data)});
} }
resetGame() { resetGame() {