This commit is contained in:
2019-08-15 15:18:26 +02:00
parent 67aede1a9c
commit f0b94c7730

View File

@@ -25,15 +25,8 @@ class InterlockFourcv (Interlock):
Interlock.__init__(self, (fourcv, mu, delta, gamma, eta))
def check(self, (p, m, d, g, e)):
if
m, d, g, e = p
mv = mm, md, mg, me = m!=mg, d!=dg, g!=gg, e!=eg
nm = mv.count(True)
simult = nm > 1
if simult:
if fourcv.isSimultaneousMove():
m, d, g, e = p
print m, d, g, e
if d>m:
return False
return True