Skip to content

Commit

Permalink
feat: added UndoMove to liad test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
dechristopher committed Mar 20, 2021
1 parent 1a4c96a commit adab64d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions liad/liad.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ func main() {

if move == "-" {
break
} else if move == "u" {
game.UndoMove()
} else {
err = game.MoveStr(move)
}
Expand Down

0 comments on commit adab64d

Please sign in to comment.