Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 1.08 KB

README.md

File metadata and controls

11 lines (11 loc) · 1.08 KB

Reversi

Image 06-04-24 at 11 00 AM

What is Reversi?

Two players compete, using 64 identical game pieces ("disks") that are light on one side and dark on the other. Each player chooses one color to use throughout the game. Players take turns placing one disk on an empty square, with their assigned color facing up. After a play is made, any disks of the opponent's color that lie in a straight line bounded by the one just played and another one in the current player's color are turned over. When all playable empty squares are filled, the player with more disks showing in their own color wins the game

How to play?

Choose your move , then the bot will make its move and finally you can see the results on results page.

How to use Reversi?

  • Install VSCode.
  • Then pip install numpy, pip install flask, pip install flask_cors (use pip3 if that's the version available).
  • Run App.js (using npm start)simultaneously with api.py.
  • Now , you are ready to play :)