Skip to content

A C# Tic Tac Toe console app where two players alternate marking X or O on a 3x3 grid, aiming to align three marks horizontally, vertically, or diagonally to win. It features a simple text-based interface, input validation, and a game-over condition check.

Notifications You must be signed in to change notification settings

The-Flying-Dev/Tic-Tac-Toe-In-C-Sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

A tic tac toe/ noughts and crosses console game. In this program 2 players will take turns by marking either an "X" or "O" on the grid.The first player to fill a row/column/diagonal line wins! The following topics are covered: User Input, Booleans, While loops, Arrays, Methods and Conditional Statements.

Getting Started

Setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is a list of requirements you need in order to setup .NET locally.

.NET SDK (version 6.0 or later recommended)
Any IDE that supports .NET development (e.g., Visual Studio, VS Code with C# plugin)

Installation

A step-by-step series of instructions that tell you how to get a development environment running.

  1. Clone the repo
    git clone 
  2. Navigate to the project directory:
    cd TicTacToe
  3. Build the project:
    dotnet build

This will compile the application and any dependencies.

Running the Application

How to run the application:

dotnet run

About

A C# Tic Tac Toe console app where two players alternate marking X or O on a 3x3 grid, aiming to align three marks horizontally, vertically, or diagonally to win. It features a simple text-based interface, input validation, and a game-over condition check.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages