tic-tac-go
Two goroutines playing tic-tac-toe. They don't stop if one has won, and nothing is evaluated. Maybe I'll add that. This is my first time using go.
Example output:
| |
-----------
| |
-----------
| |
***********
x | |
-----------
| |
-----------
| |
***********
x | |
-----------
| |
-----------
| | o
***********
x | |
-----------
| | x
-----------
| | o
***********
x | |
-----------
o | | x
-----------
| | o
***********
x | x |
-----------
o | | x
-----------
| | o
***********
x | x |
-----------
o | | x
-----------
o | | o
***********
x | x |
-----------
o | x | x
-----------
o | | o
***********
x | x | o
-----------
o | x | x
-----------
o | | o
***********
x | x | o
-----------
o | x | x
-----------
o | x | o
***********