Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nimaposhtiban/tictactoeai
MinMax (cut-off)
https://github.com/nimaposhtiban/tictactoeai
Last synced: 9 days ago
JSON representation
MinMax (cut-off)
- Host: GitHub
- URL: https://github.com/nimaposhtiban/tictactoeai
- Owner: NimaPoshtiban
- Created: 2024-07-16T07:51:43.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-13T13:47:17.000Z (12 days ago)
- Last Synced: 2024-12-13T14:34:25.282Z (12 days ago)
- Language: C
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Toe Ai
a simple ai for tic-tac-toe game using min-max algorithm## How it works
it recives a matrix of 0s,1s and 2s:
- 1 is the max
- 2 is the min
- 0 is the empty blockjust call answer function and it returns the best result
```
int** answer(int** plate);
```