This commit is contained in:
Rudis Muiznieks 2022-04-30 17:30:50 -05:00
parent c8deccdf82
commit b980b45b5c
Signed by: rudism
GPG key ID: CABF2F86EF7884F9

View file

@ -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()