chess
chess copied to clipboard
Examples are outdated
This code is not compiling in Go 1.9:
input, _ := console.ReadString('\n') if move, err := g.Position.ParseMove(input); err == nil { g.MakeTimedMove(move, time.Since(start)) } else { fmt.Println("Couldn't understand your move.") }