https://github.com/r0hna/tic-tac-toe-game-app
https://github.com/r0hna/tic-tac-toe-game-app
multiplayer multiprocessing multithreading thread threading tic-tac-toe tic-tac-toe-ai tic-tac-toe-game tic-tac-toe-python
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/r0hna/tic-tac-toe-game-app
- Owner: r0hna
- Created: 2019-09-15T09:06:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T14:53:54.000Z (over 2 years ago)
- Last Synced: 2025-01-16T22:18:04.071Z (5 months ago)
- Topics: multiplayer, multiprocessing, multithreading, thread, threading, tic-tac-toe, tic-tac-toe-ai, tic-tac-toe-game, tic-tac-toe-python
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic tac toe with AI-bot and multithread
# Game options-
* 2-player
* Play with AI of computer
# Game tree:-

# Wining logic:-
```
check1 = self.btn1['text'] == self.btn2['text'] == self.btn3['text'] != ''
check2 = self.btn4['text'] == self.btn5['text'] == self.btn6['text'] != ''
check3 = self.btn7['text'] == self.btn8['text'] == self.btn9['text'] != ''check4 = self.btn1['text'] == self.btn4['text'] == self.btn7['text'] != ''
check5 = self.btn2['text'] == self.btn5['text'] == self.btn8['text'] != ''
check6 = self.btn3['text'] == self.btn6['text'] == self.btn9['text'] != ''check7 = self.btn1['text'] == self.btn5['text'] == self.btn9['text'] != ''
check8 = self.btn3['text'] == self.btn5['text'] == self.btn7['text'] != ''
```
# To get to know more check out my code.