Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Commit ca6902b

Browse files
committed
Version 10.07.2
1 parent 4607669 commit ca6902b

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

Code/GestorMate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ConfigNivel:
1414
def __init__(self, mate):
1515
self.mate = mate
1616

17-
eduardo = "Trainings/From Eduardo Sadier/145032 positions of mate in two.fns"
17+
eduardo = Util.listfiles("Trainings", "Checkmates by Eduardo Sadier", "*.fns")[0]
1818
pascal3 = "Trainings/From Pascal Georges in Scid/Mate in 3.fns"
1919
pascal4 = "Trainings/From Pascal Georges in Scid/Mate in 4 and more.fns"
2020
dicFicheros = {1: eduardo, 2: eduardo, 3: pascal3, 4: pascal4}

Code/GestorPerson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def inicio(self, dic, aplazamiento=None, siPrimeraJugadaHecha=False):
9898
self.ponMensajero(self.mueveHumano)
9999
self.ponPosicion(self.partida.ultPosicion)
100100
self.mostrarIndicador(True)
101-
self.quitaAyudas(True)
101+
self.quitaAyudas(True, siQuitarAtras=False)
102102
self.ponPiezasAbajo(siBlancas)
103103

104104
imagen = getattr(Iconos, "pm%s" % self.rival_name)

Code/Init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DEBUG = False
2-
VERSION = "10.07.1"
2+
VERSION = "10.07.2"
33

44
import os
55
import sys

Code/XMotorRespuesta.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ def miraPV(self, pvBase):
326326
if (dClaves["nodes"] == "0") and ("mate" not in pvBase):
327327
return
328328

329-
# if "score" in dClaves:
330-
# if dClaves["score"].startswith("mate 0"):
331-
# return
329+
if "score" in dClaves:
330+
if "mate 0 " in pvBase:
331+
return
332332

333333
if "multipv" in dClaves:
334334
kMulti = dClaves["multipv"]
@@ -377,8 +377,7 @@ def miraPV(self, pvBase):
377377
elif score.startswith("mate "):
378378
rm.puntos = 0
379379
rm.mate = int(score.split(" ")[1])
380-
if rm.mate == 0: # stockfish mate 0 + komodo
381-
rm.mate = -1
380+
rm.sinMovimientos = False
382381

383382
if "pv" in dClaves:
384383
pv = dClaves["pv"].strip()
@@ -393,10 +392,6 @@ def miraScore(self, pvBase):
393392
dClaves = self.miraClaves(pvBase, ("multipv", "depth", "seldepth", "score", "time",
394393
"nodes", "pv", "hashfull", "tbhits", "nps", "currmove", "currmovenumber"))
395394

396-
if "score" in dClaves: # problema con stockfish
397-
if dClaves["score"].startswith("mate 0"):
398-
return
399-
400395
if "multipv" in dClaves:
401396
kMulti = dClaves["multipv"]
402397
if kMulti not in self.dicMultiPV:
147 Bytes
Binary file not shown.

bug.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Version 10.07.1
1+
Version 10.07.2

0 commit comments

Comments
 (0)