Removed unneeded function get_moved_piece_name()
This commit is contained in:
pare
0de5f2dcf3
commit
40b16be125
S'han modificat 1 arxius amb 0 adicions i 28 eliminacions
|
@ -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:
|
||||
|
|
Loading…
Referencia en una nova incidència