Skip to content

Nishu39321/Othello_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Othello Game

Welcome to the Othello game! This is a command-line implementation of the classic board game, Othello (also known as Reversi). The game is played on an 8x8 board, where players take turns placing their discs to capture the opponent's discs.

Overview Othello is a strategy board game for two players. The objective is to have the majority of your color discs on the board at the end of the game.

Usage Run the game executable.

Enter the names of the two players.

Players take turns to place their discs on the board.

The game will automatically update the board and display the current scores.

The game ends when no more valid moves are available, and the player with the most discs wins.

Game Rules

Game Setup:

The game is played on an 8x8 board.

Initial setup places two black ('X') and two white ('O') discs in the center of the board.

Game Play:

Players take turns placing a disc of their color on the board.

A valid move must capture one or more of the opponent's discs. This happens when the placed disc and another disc of the same color surround one or more of the opponent's discs in a straight line (horizontal, vertical, or diagonal).

Captured discs are flipped to the player's color.

End of Game:

The game ends when neither player can make a valid move. The player with the most discs of their color on the board wins. If both players have the same number of discs, the game is a tie.

About

Welcome to the Othello Adventure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages