debug
This commit is contained in:
parent
c8deccdf82
commit
b980b45b5c
1 changed files with 5 additions and 2 deletions
|
@ -166,16 +166,19 @@ class Draw:
|
|||
self._graphics.text(self._format_move(last_move), 12, 0, 1)
|
||||
self._graphics.text("You move:", 12, 2, 1)
|
||||
if src != None and dst == None:
|
||||
ic('skipping src only')
|
||||
self._graphics.text("<" + src.upper() + "> - __", 12, 3, 1)
|
||||
self._cursor_clear([src], player_color)
|
||||
self._cursor(src, player_color)
|
||||
elif src != None and dst != None:
|
||||
ic('skipping src and dest')
|
||||
self._graphics.text(src.upper() + " - <" + dst.upper() + ">", 12, 3, 1)
|
||||
self._cursor_clear([src, dst], player_color)
|
||||
self._cursor(src, player_color)
|
||||
self._cursor(dst, player_color)
|
||||
#else:
|
||||
#self._cursor_clear(list(), player_color)
|
||||
else:
|
||||
ic('clearing all cursors')
|
||||
self._cursor_clear(list(), player_color)
|
||||
|
||||
self._graphics.show()
|
||||
|
||||
|
|
Reference in a new issue