Tic-tac-toe console game written in swift.
The bot first tries to complete a row, either to win the game or deny the win to the opponent. Otherwise it plays at random.
This is not the perfect way to play, so its still possible to win the game (otherwise it would draw every time).
swift build && .build/debug/tic_tac_toe --- Build an run the game.
- swift v3.1