no print
This commit is contained in:
1 parent
e29593517a
commit
b6eb45ecc4
3 files changed
+1
-2
No files matched your search
@@ -3,6 +3,7 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import kivy
|
import kivy
|
||||||
|
|
||||||
kivy.require("2.0.0")
|
kivy.require("2.0.0")
|
||||||
|
|
||||||
os.environ["KCFG_KIVY_LOG_LEVEL"] = os.environ.get("KCFG_KIVY_LOG_LEVEL", "warning")
|
os.environ["KCFG_KIVY_LOG_LEVEL"] = os.environ.get("KCFG_KIVY_LOG_LEVEL", "warning")
|
||||||
|
|||||||
@@ -203,7 +203,6 @@ class Game:
|
|||||||
already_inserted_moves = [
|
already_inserted_moves = [
|
||||||
n.move for n in copy_to_node.nodes_from_root if n not in above_insertion_root and n.move
|
n.move for n in copy_to_node.nodes_from_root if n not in above_insertion_root and n.move
|
||||||
]
|
]
|
||||||
print(already_inserted_moves)
|
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
if copy_from_node.move not in already_inserted_moves:
|
if copy_from_node.move not in already_inserted_moves:
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ class ScoreGraph(Graph):
|
|||||||
|
|
||||||
def on_touch_down(self, touch):
|
def on_touch_down(self, touch):
|
||||||
if self.collide_point(*touch.pos) and "scroll" not in getattr(touch, "button", ""):
|
if self.collide_point(*touch.pos) and "scroll" not in getattr(touch, "button", ""):
|
||||||
print(touch)
|
|
||||||
ix, _ = min(enumerate(self.score_points[::2]), key=lambda ix_v: abs(ix_v[1] - touch.x))
|
ix, _ = min(enumerate(self.score_points[::2]), key=lambda ix_v: abs(ix_v[1] - touch.x))
|
||||||
self.navigate_move = [
|
self.navigate_move = [
|
||||||
self.nodes[ix],
|
self.nodes[ix],
|
||||||
|
|||||||
Reference in new issue
Block a user