Skip to content

Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.

License

realspal/OthelloGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OthelloGame

Othello PvP (2-Player) Game Application. This repository contains a Windows application, created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.


Screenshot from the Application:

Screenshot-Othello-Game


OTHELLO PVP - Java Application for Windows PC

Game Application : Developed by Soumyadeep Pal

Developer GitHub : https://www.github.com/realspal

Developer LinkedIn : https://linkedin.com/in/realspal

Game Rules : Based on the original Othello Game


About This Repository:

This repository contains a Windows application for playing the Othello game in 2 player (player vs player or PvP) mode, created in Java using Swing and AWT. This version is capable of invalidating illegal moves and declaring winner automatically.


About The Game Othello (Source - https://www.wikihow.com/Play-Othello):

Othello is a simple game that you play on an 8 by 8 in (20 by 20 cm) checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop your strategies for winning the game.


Rules Of The Game (Source - https://www.eothello.com/#how-to-play):

Othello is a strategy board game for two players (Black and White), played on an 8 by 8 board. The game traditionally begins with four discs placed in the middle of the board as shown below. Black moves first.

image

Black must place a black disc on the board, in such a way that there is at least one straight (horizontal, vertical, or diagonal) occupied line between the new disc and another black disc, with one or more contiguous white pieces between them. In the starting position, Black has the following 4 options indicated by translucent discs:

image

After placing the disc, Black flips all white discs lying on a straight line between the new disc and any existing black discs. All flipped discs are now black. If Black decides to place a disc in the topmost location, one white disc gets flipped, and the board now looks like this:

image

Now White plays. This player operates under the same rules, with the roles reversed: White lays down a white disc, causing black discs to flip. Possibilities at this time would be:

image

If White plays the bottom left option and flips one disc:

image

Players alternate taking turns. If a player does not have any valid moves, play passes back to the other player. When neither player can move, the game ends. A game of Othello may end before the board is completely filled.

The player with the most discs on the board at the end of the game wins. If both players have the same number of discs, then the game is a draw.


Message From Developer (Date: 2nd February, 2022):

I hope you will have fun playing Othello and devising your own strategies. For more information, you can contact me via LinkedIn (https://www.linkedin.com/in/realspal). Thanks for reading. With regards,

Soumyadeep Pal.


  1. Basic Othello Strategy - https://www.eothello.com
  2. World Othello Federation - https://www.worldothello.org
  3. Othello: a minute to learn... a lifetime to master by Brian Rose - https://www.eothello.com/pdf/othello-book-Brian-Rose.pdf

About

Othello PvP (2-Player) Game Application created in Java using Swing and AWT, for playing the Othello game, a simple game that played on an 8 by 8 checkered board with 64 double-sided black and white discs. The game is easy to learn, but it takes time to master and develop winning strategies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages