Skip to content

Alpha Beta Pruning & Minimax implementation in Python

Notifications You must be signed in to change notification settings

jcorilla/minimax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

The name of the file is ttt.py
On the command line type 
python ttt.py

Inputs should be ranged from 0-8
else you get an error for invalid literal

The outputs you can get is 
Tic Tac Toe Game
Human vs PC
Minimax
Alpha Beta Pruning

- - -
- - -
- - -

Human's Turn
Please Enter 0-8
. 
.
.
.

MiniMax nodes: 43524
Alpha Beta nodes: 4884

CPU PLays
Board-1
0 X X
X 0 X
X 0 0
Board-2
0 X X
X 0 X
X 0 0

About

Alpha Beta Pruning & Minimax implementation in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%