Skip to content

bax082024/TicTacToe

Repository files navigation

🎮 Tic Tac Toe 🎮

A simple Tic-Tac-Toe game built using Windows Forms in C#. This project shows basic game development principles, including UI interaction, event handling, and game logic.


Features

  • Two-player gameplay: Player X and Player O take turns.
  • Dynamic game grid: A 3x3 button-based grid for gameplay.
  • Start and Reset functionality: Allows the game to start fresh and reset at any time.
  • Win detection: Detects when a player wins or the game ends in a draw.
  • Custom images: Uses images for X and O instead of plain text.

Tech used

  • Language: C#
  • Framework: .NET Framework
  • UI: Windows Forms

How to run the game

  1. Clone repository : https://github.com/bax082024/TicTacToe.git
  2. Open Open the solution file (TicTacToe.sln) in Visual Studio.
  3. Rebuild solution.
  4. Run the game.

How to play 🎮

  1. Start the Game:
    • Click Start button.
  2. Take Turns:
    • Players take turns clicking buttons on the grid to place their symbol (X or O).
  3. Win or Reset:
    • The game detects wins or draws and displays the result.
    • Click Reset to restart the game.

Screenshot

  • Game

Contact


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages