/X_O

Primary LanguageC#

XO Game in C#

Welcome to the XO Game (Tic-Tac-Toe) project in C#! This is a simple console-based game that allows two players to take turns playing the classic Tic-Tac-Toe game. Players can enter their names, and the game will display whose turn it is to play. Players take turns clicking on the 3x3 grid to place either "X" or "O". The game will declare a winner or a tie when a player gets three of their marks in a row, column, or diagonal.

How to Play

Clone this repository to your local machine.

Open the solution in your favorite C# development environment (e.g., Visual Studio, Visual Studio Code with the C# extension).

Build and run the project.

Features

Two players can enter their names. The game alternates between players, indicating whose turn it is. Players can click on the 3x3 grid to place their mark ("X" or "O"). The game checks for a win or a tie after each move and announces the winner.

Technologies Used

C# for the game logic. .NET Core for cross-platform compatibility.

Sample Screenshot

Include a screenshot or two of your game in action here.