Skip to content

Popular game Reversi built with AI (MCTS and Minimax)

Notifications You must be signed in to change notification settings

KesterTan/Reversi.AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reversi.AI

Play Reversi against your friends or against different types of AI!

How to run app

  • Navigate into Reversi folder
  • Run
    Python gui.py

Help

  • Grey circles: Possible places you can place a piece
  • Arrows: Found under the board, they tell you whose turn it is

Multiplayer:

Click multiplayer to play with another player locally on your computer

Offline:

Vary levels of AI difficulty by clicking "Offline 1 Player" and using the slider
  • Play with varying depths of Minimax AI

  • Play with varying number of simulations of Monte Carlo Tree Search AI

Online

  1. Uncomment out line 22 of main.py
    self.net = Network()
    
  2. Uncomment out lines 449-451 of gui.py(
    app.network = True
    app.player1.network = True
    app.player2.network = True
    
  3. Run server.py
  4. Run gui.py on seperate computers

Requirements

Requirements can be found in requirements.txt
  • Install CMU 112-Graphics from https://www.cs.cmu.edu/~112/index.html
  • Download Sockets: run "pip install sockets"
  • Download Thread6: run "pip install thread6"
  • Download Threaded: run "pip install threaded"

About

Popular game Reversi built with AI (MCTS and Minimax)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages