https://github.com/codeofandrin/tictactoe-console
Tic-Tac-Toe game made for console including AI.
https://github.com/codeofandrin/tictactoe-console
Last synced: about 1 year ago
JSON representation
Tic-Tac-Toe game made for console including AI.
- Host: GitHub
- URL: https://github.com/codeofandrin/tictactoe-console
- Owner: codeofandrin
- Created: 2022-11-10T10:15:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T16:03:24.000Z (about 3 years ago)
- Last Synced: 2025-03-03T00:32:19.350Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Toe console game
**This is the equivalent of my [Tic-Tac-Toe website](https://github.com/puncher1/tictactoe-website) made for the console, which comes with an AI based on the minimax algorithm.**

## Difficulty Levels
This game comes with 3 difficulty levels
* **easy:** The "AI" (if you still can tell this AI) just picks a field randomly. This makes it really easy for the player to win.
* **medium:** The AI chooses either a random field or if the AI or player needs a field to win, it chooses that field. This makes it more difficult, but still winnable.
* **impossible:** The AI uses the minimax algorithm for every choose of its field. This makes it impossible to win. The player either makes a draw or loses.