Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 #
# #
# #
# #
# #
# #
##################################################
```