Skip to content

An implementation of the game Othello(Reversi) using pygame including AI with Min-Max Algorithm and Alpha-Beta Pruning.

Notifications You must be signed in to change notification settings

icepear-jzx/Othello-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Othello-AI

An implementation of the game Othello(Reversi) using pygame including AI with Min-Max Algorithm and Alpha-Beta Pruning.

Usage

At first, you need to install pygame.

$ pip3 install pygame --user

You can play with your friend by running Othello-PVP.py.

$ python3 Othello-PVP.py

You can play against AI by running Othello-AI.py or Othello-AI-Pruning.py.

Othello-AI-Pruning.py is more difficult than Othello-AI.py.

$ python3 Othello-AI.py
$ python3 Othello-AI-Pruning.py

You are the black player. Black first.

Then click anywhere, AI will put down a chess.

Press 'b' to undo one step.

About

An implementation of the game Othello(Reversi) using pygame including AI with Min-Max Algorithm and Alpha-Beta Pruning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages