-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
58 lines (57 loc) · 1.07 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
cd game/target/
java -jar game-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Please choose who will play first ( Alice stands for X, Bob stands for O ):
Alice
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
1 2
| X |
-----------
| |
-----------
| |
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
2 1
| X |
-----------
O | |
-----------
| |
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
3 3
| X |
-----------
O | |
-----------
| | X
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
2 3
| X |
-----------
O | | O
-----------
| | X
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
2 3
This move at (2,3) is invalid. Try again...
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
2 2
| X |
-----------
O | X | O
-----------
| | X
Player Bob ('O'), enter your move (row[1-3] column[1-3]):
3 1
| X |
-----------
O | X | O
-----------
O | | X
Player Alice ('X'), enter your move (row[1-3] column[1-3]):
3 2
| X |
-----------
O | X | O
-----------
O | X | X
Alice won!