Skip to content

benjaminHarroch/EtholloGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Reversi Game

Overview

This project is a console-based implementation of the classic board game Reversi (also known as Othello). The game supports single-player and two-player modes and is designed to be run in a console environment using C#. The game includes features for board initialization, move validation, gameplay execution, and result display.

Features

  • Two Game Modes: Play against another player or against a computer opponent.
  • Dynamic Board Size: Choose between 6x6 and 8x8 board sizes.
  • Move Validation: Check the validity of moves according to Reversi rules.
  • Board Display: Beautifully formatted board display with column and row headers.
  • Automatic Move Handling: Handles moves for both human and computer players.
  • Move Feedback: Inform the player about invalid moves and skip turns when no valid moves are available.
  • Game Restart: Option to restart the game after it ends.

Technologies Used

  • C#: Programming language used for implementation.
  • .NET: Framework used to build and run the console application.
  • Visual Studio: Integrated Development Environment (IDE) used for development.
  • Random Number Generation: Used for selecting random moves for the computer player.

Getting Started

Prerequisites

  • .NET SDK (version 6.0 or later)
  • Visual Studio or any C# compatible IDE

Installation

  1. Clone the repository:
    git clone https://github.com/benjaminHarroch/reversi-game.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages