feat: integrate NNUE bot and add Python training pipeline with weight export functionality
This commit is contained in:
@@ -3,7 +3,7 @@ package de.nowchess.ui
|
||||
import de.nowchess.api.board.Color.Black
|
||||
import de.nowchess.bot.util.PolyglotBook
|
||||
import de.nowchess.bot.BotDifficulty
|
||||
import de.nowchess.bot.bots.ClassicalBot
|
||||
import de.nowchess.bot.bots.{ClassicalBot, NNUEBot}
|
||||
import de.nowchess.chess.engine.GameEngine
|
||||
import de.nowchess.ui.terminal.TerminalUI
|
||||
import de.nowchess.ui.gui.ChessGUILauncher
|
||||
@@ -17,9 +17,9 @@ object Main:
|
||||
val engine = new GameEngine()
|
||||
|
||||
|
||||
val book = PolyglotBook("/home/janis/Workspaces/IntelliJ/NowChess/NowChessSystems/modules/bot/codekiddy.bin")
|
||||
val book = PolyglotBook("../../modules/bot/codekiddy.bin")
|
||||
|
||||
engine.setOpponentBot(ClassicalBot(BotDifficulty.Easy, book = Some(book)), Black);
|
||||
engine.setOpponentBot(NNUEBot(BotDifficulty.Easy, book = Some(book)), Black);
|
||||
|
||||
// Launch ScalaFX GUI in separate thread
|
||||
ChessGUILauncher.launch(engine)
|
||||
|
||||
Reference in New Issue
Block a user