lesson16

command
v0.0.0-...-8eea285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Experiment: chess.go * Extend listing 16.8 to display all the chess pieces at their starting positions using the characters kqrbnp for black pieces along the top and uppercase KQRBNP for white pieces on the bottom. * Write a function that nicely displays the board. * Instead of strings, use [8][8]rune to represent the board. Recall that rune literals are surrounded with single quotes and can be printed with the %c format verb.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL