File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22"""
33python_easy_chess_gui.py
44
5+ Requirements:
6+ Python 3.7.3 and up
7+
58PySimpleGUI Square Mapping
69board = [
710 56, 57, ... 63
5558
5659
5760APP_NAME = 'Python Easy Chess GUI'
58- APP_VERSION = 'v0.79 '
61+ APP_VERSION = 'v0.80 '
5962BOX_TITLE = '{} {}' .format (APP_NAME , APP_VERSION )
6063
6164
@@ -308,14 +311,9 @@ def get_board(self, board):
308311 self .board = board
309312
310313 def run (self ):
311- # Use Python 3.7 to compile to exe
312- is_compile_to_exe = False
313- if is_compile_to_exe :
314- self .engine = chess .engine .SimpleEngine .popen_uci (
314+ self .engine = chess .engine .SimpleEngine .popen_uci (
315315 str (self .engine_path ),
316- creationflags = subprocess .CREATE_NO_WINDOW )
317- else :
318- self .engine = chess .engine .SimpleEngine .popen_uci (str (self .engine_path ))
316+ creationflags = subprocess .CREATE_NO_WINDOW )
319317
320318 try :
321319 self .engine .configure ({'Threads' : self .threads })
You can’t perform that action at this time.
0 commit comments