Permalink
Browse files

cmd/tictactoe: Use consistent Tic-Tac-Toe spelling with dashes.

  • Loading branch information...
dmitshur committed Oct 7, 2017
1 parent 6edca9e commit 7e44bdfb3d4e50bcac3ed5e838f746ee310f4ed0
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmd/tictactoe/main.go
View
@@ -37,12 +37,12 @@ func run() {
log.Fatalln(fmt.Errorf("failed to initialize player O: %v", err))
}
fmt.Println("Tic Tac Toe")
fmt.Println("Tic-Tac-Toe")
fmt.Println()
fmt.Printf("%v (X) vs %v (O)\n", playerX.Name(), playerO.Name())
if runtime.GOARCH == "js" {
var document = dom.GetWindow().Document().(dom.HTMLDocument)
document.SetTitle("Tic Tac Toe")
document.SetTitle("Tic-Tac-Toe")
}
endCondition, err := playGame([2]player{playerX, playerO})

0 comments on commit 7e44bdf

Please sign in to comment.