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
.
- 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.
Important
Othello is currently only for windows, it may work for other operating systems after some changes, but it may not work as intended.
-
Open the latest release.
-
Install the
Source code
. -
Move the assets/ to the following folder:
C:\Users\YOUR_USERNAME\AppData\Local\Othello
. -
Install the needed requirements, with:
pip install -r requirements.txt
. -
Run the
__main__.py
, which starts the game.
Othello is licensed under the MIT License.
Thanks to JetBrains, for providing the JetBrains Mono font.
Thanks to on the modules on which Othello is built on.
Thanks to Goro Hasegawa who is credited for inventing the original board game Othello, also known as Reversi.
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
.