We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb90a70 commit 3c035e3Copy full SHA for 3c035e3
engine/game.go
@@ -67,7 +67,7 @@ func (g *Game) Run() {
67
} else if in == "eval" || in == "e" {
68
fmt.Printf("Score: %d\n", Evaluate(g.board))
69
70
- } else if in == "auto" {
+ } else if in == "auto" || in == "a" {
71
for g.board.status == statusNormal {
72
g.board.MakeMove(Search(g.board))
73
fmt.Printf("%s\n", g.board.String())
0 commit comments