File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Just a Tic-Tac-Toe
2
2
3
3
These are not-a-new-thing python scripts for the game Tic Tac Toe<br />
4
- But, this edition has two modes to play the Tic-Tac-Toe game<br />
5
- One of them is a casual mode in which you can invite a friend over to play the game as your rival!
6
- And the other one is where you have a bot-mode where a bot will be your rival this time <br />
7
- You could play the game untill you get tired of it just by running the script once<br />
4
+ <br />
5
+ But, this edition has two modes to play the Tic-Tac-Toe game<br /><br />
6
+ One of them is a casual mode in which you can invite a friend over to play the game as your rival!<br /><br />
7
+ And the other one is where you have a bot-mode where a bot will be your rival this time <br /><br />
8
+ You could play the game untill you get tired of it just by running the script once<br /><br />
8
9
Oh and, you could also switch modes after the game has ended <br />
9
10
10
- #Input for the program
11
+ # Input for the program #
11
12
This part is a lil tricky but hey!, I have got some examples<br />
12
13
You have to use co-ordinate system for a 3 X 3 matrix <br /><br />
13
14
For a matrix like this(which will also be our game board..),<br />
14
15
---------
15
- | _ _ _ |
16
- | _ _ _ |
17
- | _ _ _ |
16
+ | _ _ _ | < br />
17
+ | _ _ _ |< br />
18
+ | _ _ _ |< br />
18
19
---------
19
20
<br />
20
21
* If you want to take the top-right corner:
You can’t perform that action at this time.
0 commit comments