This commit is contained in:
Thomas Lindner 2022-12-29 17:43:03 +01:00
parent 99eba3bc33
commit 34f10471d3

View file

@ -4,7 +4,6 @@ from pygame import mixer
import random import random
from stockfish import Stockfish from stockfish import Stockfish
import time import time
import movegenerator
settings = { settings = {
"Debug Log File": "", "Debug Log File": "",
@ -53,7 +52,6 @@ class Game:
self.engine = Stockfish("/usr/bin/stockfish") self.engine = Stockfish("/usr/bin/stockfish")
self.settings = engine_settings self.settings = engine_settings
self.engine.update_engine_parameters(self.settings) self.engine.update_engine_parameters(self.settings)
self.matrix = BoardReader()
self.current_evaluation = ( self.current_evaluation = (
self.engine.get_evaluation() self.engine.get_evaluation()
) # This is not necessary, now that I think about it. ) # This is not necessary, now that I think about it.