Skip to content

esogcs/Lab4TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Tic-tac-toe Game made in WPF C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages