Skip to content

a-tesseract/Othello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assets/images/Logo.png

Othello a.k.a Reversi

Othello, also known as Reversi, is a classic, abstract, strategy board game for two players. It is played on an 8x8 uncheckered board with 64 identical game pieces called coins or disks, which have a light side and a dark side.




Contents



How To Play

  • Starting Position: Four discs, two Black and two White, are placed in the center of the board, forming a diagonal line.
  • Turns: Players alternate turns. Black moves first.
  • Valid Moves: A player can place a disc on the board if:
    • There is at least one straight line (horizontal, vertical, or diagonal) between the new disc and another disc of the same color.
    • One or more contiguous discs of the opposing color are between them.
  • Capturing: When a player places a disc, they flip all opposing discs lying on a straight line between the new disc and any anchored discs of the same color.
  • Game End: The game ends when neither player has a valid move left or the board is completely filled.



Status

Important

Othello is currently only for windows, it may work for other operating systems after some changes, but it may not work as intended.



Installation

  1. Open the latest release.

  2. Install the Source code.

  3. Move the assets/ to the following folder: C:\Users\YOUR_USERNAME\AppData\Local\Othello.

  4. Install the needed requirements, with: pip install -r requirements.txt.

  5. Run the __main__.py, which starts the game.





Othello is licensed under the MIT License.



Credit

JetBrains Mono

Thanks to JetBrains, for providing the JetBrains Mono font.

Python Modules

Thanks to on the modules on which Othello is built on.

Original Game

Thanks to Goro Hasegawa who is credited for inventing the original board game Othello, also known as Reversi.

Excelidraw

Thanks to Excelidraw for helping create the how to play.



Follow the CONTRIBUTING.md to ensure a smooth contribution process.



Othello has the Contributor Covenant Code of Conduct.



To view the security and data safety of Othello, see SECURITY.md.