Skip to content

Commit 3c035e3

Browse files
committed
Add "a" as alias for "auto"
1 parent fb90a70 commit 3c035e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/game.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (g *Game) Run() {
6767
} else if in == "eval" || in == "e" {
6868
fmt.Printf("Score: %d\n", Evaluate(g.board))
6969

70-
} else if in == "auto" {
70+
} else if in == "auto" || in == "a" {
7171
for g.board.status == statusNormal {
7272
g.board.MakeMove(Search(g.board))
7373
fmt.Printf("%s\n", g.board.String())

0 commit comments

Comments
 (0)