code: func (p Piece) Color() Color {
  	switch p {
  	case WhiteKing, WhiteQueen, WhiteRook, WhiteBishop, WhiteKnight, WhitePawn:
  		return White
  	case BlackKing, BlackQueen, BlackRook, BlackBishop, BlackKnight, BlackPawn:
  		return Black
  	}
  	return NoColor
  }
docs: // Color returns the color of the piece.