Skip to content

Commit

Permalink
stopped showing rank and file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayvallurupalli committed Oct 8, 2024
1 parent ffc3bb3 commit e27de6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/piece.nim
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ func isColor*(a: Piece, b: Color): bool =

func `$`*(p: Piece): string =
if p.item == none:
return "none at " & $p.tile
return ""
else:
return $p.color & $p.item

0 comments on commit e27de6d

Please sign in to comment.