package chessboard

import "fmt"

func PrintChessboard() {
	fmt.Print(" ")
	for i := 0; i < 8; i++ {
		fmt.Printf(" %c", 'a'+i)
	}
	fmt.Println()

	for i := 0; i < 8; i++ {
		fmt.Print(" +")
		for j := 0; j < 8; j++ {
			fmt.Print("-+")
		}
		fmt.Println()
		fmt.Printf("%d|", i+1)
		for j := 0; j < 8; j++ {
			fmt.Printf("%c|", Piece(Point{i, j}))
		}
		fmt.Println(i + 1)
	}
	fmt.Print(" +")
	for i := 0; i < 8; i++ {
		fmt.Print("-+")
	}
	fmt.Println()

	fmt.Print(" ")
	for i := 0; i < 8; i++ {
		fmt.Printf(" %c", 'a'+i)
	}
	fmt.Println()
}

package chessboard

import "fmt"

func PrintChessboard() {
	fmt.Print(" ")
	for i := 0; i < 8; i++ {
		fmt.Printf(" %c", 'a'+i)
	}
	fmt.Println()

	for i := 0; i < 8; i++ {
		fmt.Print(" +")
		for j := 0; j < 8; j++ {
			fmt.Print("-+")
		}
		fmt.Println()
		fmt.Printf("%d|", i+1)
		for j := 0; j < 8; j++ {
			fmt.Print(" |")
		}
		fmt.Println(i + 1)
	}
	fmt.Print(" +")
	for i := 0; i < 8; i++ {
		fmt.Print("-+")
	}
	fmt.Println()

	fmt.Print(" ")
	for i := 0; i < 8; i++ {
		fmt.Printf(" %c", 'a'+i)
	}
	fmt.Println()
}

--- 
+++ 
@@ -17,7 +17,7 @@
 		fmt.Println()
 		fmt.Printf("%d|", i+1)
 		for j := 0; j < 8; j++ {
-			fmt.Print(" |")
+			fmt.Printf("%c|", Piece(Point{i, j}))
 		}
 		fmt.Println(i + 1)
 	}
Print pieces of each point
