Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 602 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 602 Bytes

Lab 4: Tic-Tac-Toe Game

Overview

This lab implements a simple Tic-Tac-Toe game using C# and WPF. The project focuses on applying object-oriented programming principles to handle game logic, user interactions, and graphical updates.

Features

  • Two-player turn-based gameplay:
    • Players alternate turns using the X and O markers.
  • Win and draw detection:
    • Detects wins through rows, columns, or diagonals.
    • Declares a draw if the board is full and no player has won.
  • Error handling for invalid moves:
    • Prevents players from overwriting already marked squares.