Skip to content

๐ŸŽฎ MindGrid is a modern and visually captivating take on the classic (Tic Tac Toe) game. Built with C# and Windows Forms, it blends smooth gameplay, vibrant design, and a fun competitive spirit.

Notifications You must be signed in to change notification settings

7mee3d/MindGrid

Repository files navigation

๐ŸŽฎ๐Ÿ“‹ Project Overview

๐ŸŽฎ MindGrid is a modern, fun, and visually captivating version of the classic Tic Tac Toe game, built using C# and Windows Forms. It combines smooth animations, colorful design, and a clean user experience to bring the timeless X and O battle to life in a stylish digital form.

๐Ÿ’ก MindGrid โ€” A fresh and intelligent twist on the classic Tic Tac Toe experience.

C# .NET Windows Forms Visual Studio Guna UI2 WinForms


๐Ÿ–ผ๏ธ Screenshot Mind Grid

Screenshot 2025-10-22 201518 Screenshot 2025-10-22 201526 Screenshot 2025-10-22 201545 Screenshot 2025-10-22 201601 Screenshot 2025-10-22 201620 Screenshot 2025-10-22 201636 Screenshot 2025-10-22 201652

๐ŸŽฎ Game Overview

๐ŸŽฏ Core Gameplay

  • ๐Ÿ‘ฅ Two-Player System โ€” Alternating turns between Player 1 (โŒ Pink ๐ŸŽ€) and Player 2 (๐ŸŸข Green ๐Ÿ€)
  • ๐Ÿ† Smart Win Detection โ€” Automatic checking for wins and draws after each move
  • ๐Ÿ‘๏ธ Visual Indicators โ€” Clear highlighting of the current player
  • โšก Instant Feedback โ€” Smooth and responsive user interaction

๐ŸŽจ Visual Design

  • ๐Ÿ›‘ Diamond-shaped Grid โ€” Unique modern twist on classic Tic Tac Toe
  • ๐ŸŽจ Professional Color Palette โ€” Carefully chosen to ensure clarity and balance
  • โœจ Smooth Animations โ€” Clean transitions and responsive highlights
  • ๐Ÿ’Ž High-quality Graphics โ€” Custom-designed X and O visuals

โš™๏ธ Implementation & Logic

๐ŸŽฒ Game Board Management

  • #๏ธโƒฃ 3ร—3 Grid System โ€” Built using PictureBox controls
  • โš™๏ธ Dynamic Initialization โ€” Array mapping for efficient board handling
  • ๐Ÿงฉ State Tracking โ€” Tag-based system for managing X and O states

๐Ÿง  Game Logic

  • ๐Ÿ”„ Turn Management โ€” Automatic switching between players
  • ๐Ÿšซ Validation โ€” Prevents moves on already occupied cells
  • ๐Ÿ Win/Draw Detection โ€” Evaluates all combinations (horizontal, vertical, diagonal)
  • ๐Ÿ”„ Restart Option โ€” Instantly reset the board for a new round

๐Ÿ“Š Game States

  • ๐ŸŽฏ Initialization โ€” Game setup and board reset
  • โณ In Progress โ€” Active gameplay
  • ๐Ÿ† Win State โ€” Player victory
  • ๐Ÿค Draw State โ€” No winner
  • ๐Ÿ” Reset Ready โ€” Awaiting next match

๐Ÿ› ๏ธ Setup & Installation

๐Ÿ“‹ Requirements

  • ๐Ÿ’ป .NET Framework 4.5 or higher
  • ๐ŸชŸ Windows OS
  • ๐Ÿงฉ Visual Studio (for development and running)

โš™๏ธ Additional Setup

To ensure the project runs correctly:

  1. Open Visual Studio
  2. Go to Tools โ†’ NuGet Package Manager โ†’ Manage NuGet Packages for Solution
  3. Search for Guna.UI2.WinForms in the Browse tab
  4. Install the package for your project
  5. Rebuild the solution

โœ… This library is required for the modern UI elements to function properly.

๐Ÿš€ Running the Game

  1. Clone the repository
  2. Open it in Visual Studio
  3. Build the solution
  4. Run the application

๐Ÿ“ Project Structure

Tic-Tac-Toe-Game/
โ”‚
โ”œโ”€โ”€ Properties/
โ”‚   โ””โ”€โ”€ Resources.resx
โ”œโ”€โ”€ MindGrid.cs
โ”œโ”€โ”€ MindGrid.Designer.cs
โ””โ”€โ”€ Program.cs

๐Ÿ”ฎ Future Enhancements

๐ŸŽฏ Planned Features

  • ๐Ÿงฎ Score Tracking โ€” Track scores across multiple rounds
  • ๐Ÿค– AI Opponent โ€” Single-player mode
  • ๐ŸŽต Sound Effects โ€” Audio feedback for moves and wins
  • ๐ŸŽจ Themes โ€” Customizable color and style options
  • ๐Ÿ“Š Statistics โ€” Player performance tracking

๐Ÿ‘จ๐Ÿ’ป Author

Ahmed Jehad Ahmed

๐Ÿ”— GitHub Profile

๐Ÿ“ง Email Contact

About

๐ŸŽฎ MindGrid is a modern and visually captivating take on the classic (Tic Tac Toe) game. Built with C# and Windows Forms, it blends smooth gameplay, vibrant design, and a fun competitive spirit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages