Merge Python Branch into Main #1

Merged
hagi merged 45 commits from python into main 2022-12-30 19:15:27 +00:00
Showing only changes of commit 34f10471d3 - Show all commits

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.