Skip to content

Latest commit

 

History

History
75 lines (65 loc) · 1.4 KB

README.md

File metadata and controls

75 lines (65 loc) · 1.4 KB

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"