Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eminarican/tictac
tictactoe ai implementation using minimax with αβ-pruning
https://github.com/eminarican/tictac
ai algorithm alpha alpha-beta beta game minimax pruning tic-tac-toe tictactoe
Last synced: 27 days ago
JSON representation
tictactoe ai implementation using minimax with αβ-pruning
- Host: GitHub
- URL: https://github.com/eminarican/tictac
- Owner: eminarican
- License: gpl-3.0
- Created: 2023-01-25T16:00:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T13:21:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T11:23:33.664Z (3 months ago)
- Topics: ai, algorithm, alpha, alpha-beta, beta, game, minimax, pruning, tic-tac-toe, tictactoe
- Language: C
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# tictac
simple tictactoe game uses minimax \
algorithm with alpha beta pruning for pvc mode```
##################################################
# #
# #
# #
# #
# #
# #
# #
# #
# welcome to the tic tac toe game #
# set your setting and press enter #
# #
# selected game mode: (pvp/pvc) #
# #
# 1: play with using ai #
# 2: play without using ai #
# #
# a: change color to yellow #
# b: change color to green #
# c: change color to blue #
# #
# (press a button above or enter) #
# #
# #
# #
# #
# #
# #
# #
##################################################
``````
##################################################
# #
# #
# #
# #
# #
# X O X #
# #
# Player 1 (X) - Computer (O) #
# #
# | | | #
# a | b | c | d #
# _____|_____|_____|_____ #
# | | | #
# e | f | g | h #
# _____|_____|_____|_____ #
# | | | #
# i | j | k | l #
# _____|_____|_____|_____ #
# | | | #
# m | n | o | p #
# | | | #
# #
# Player 1 select a cell #
# #
# #
# #
# #
# #
##################################################
```