Skip to content

tictactoe ai implementation using minimax with αβ-pruning

License

Notifications You must be signed in to change notification settings

eminarican/tictac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published