Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitdalal0/tic-tac-toe-game-app
https://github.com/rohitdalal0/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: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/rohitdalal0/tic-tac-toe-game-app
- Owner: rohitdalal0
- Created: 2019-09-15T09:06:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T14:53:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-19T08:36:30.154Z (7 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:-
![game tree](https://upload.wikimedia.org/wikipedia/commons/d/da/Tic-tac-toe-game-tree.svg)
# 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.