Welcome to Neon Tic Tac Toe, a modern, stylized Windows Desktop application built using C# and WinForms on the .NET Framework. This project goes beyond the basic console game by implementing a fully-featured game engine, multi-player state tracking, dynamic win/draw detection algorithms, and a visually striking dark/neon UI theme.
🔑 Key Features & Technical Architecture
1. Player Onboarding & Session Customization
Personalized Registration Screen: Allows custom name inputs for both Player 1 (assigned to X) and Player 2 (assigned to O).
Session State Transfer: Safely captures player names and injects them dynamically into the primary game arena dashboard.
Navigation Safeguards: Includes intuitive workflow controls (Go to Game and Close) to guide users into the session smoothly.
2. Core Game Engine & Algorithmic Logic
Real-time Matrix Evaluation: The engine continuously runs state-checking algorithms after every single turn to evaluate board positions.
Comprehensive Win Detection: Automatically detects and highlights winning alignments across all possible vectors:
Horizontal rows (
3
×
1
)
Vertical columns (
1
×
3
)
Diagonal and Anti-diagonal paths
Tie/Draw State Resolution: Automatically handles board saturation scenarios, declaring a "Draw/Tie" instantly if all cells are filled without a verified winner.
3. Advanced UI/UX & Responsive Feedback
Neon Aesthetic Matrix: Designed with a vibrant dark-mode layout featuring high-contrast glowing elements for visual engagement.
Dynamic Grid Interaction: Seamless control grid using an event-driven array of Windows Forms buttons that lock state dynamically upon being clicked to prevent illegal over-writing.
Turn Status Indicator: Real-time dashboard tracker flashing who is currently active in the turn cycle.