Removed unneeded function get_moved_piece_name()

This commit is contained in:
spla 2020-12-04 12:36:56 +01:00
pare 0de5f2dcf3
commit 40b16be125

Veure arxiu

@ -126,34 +126,6 @@ def get_piece_name(captured_piece):
return piece_name
def get_moved_piece_name(moved_piece):
if moved_piece == 1:
moved_piece_name = pawn_piece_letter
if moved_piece == 2:
moved_piece_name = knight_piece_letter
if moved_piece == 3:
moved_piece_name = bishop_piece_letter
if moved_piece == 4:
moved_piece_name = rook_piece_letter
if moved_piece == 5:
moved_piece_name = queen_piece_letter
if moved_piece == 6:
moved_piece_name = king_piece_letter
return moved_piece_name
def get_notification_data():
try: