🎮 Tic Tac Toe with SDL A simple yet functional Tic Tac Toe game built using C++ and SDL2. This project demonstrates basic game logic, rendering, and event handling in a graphical window. 🧩 Features • 3×3 grid-based Tic Tac Toe board • Player vs Player mode (X and O alternate turns) • Mouse click detection for cell selection • Win detection for rows, columns, and diagonals • Visual rendering of X (cross) and O (circle) • Game-over message printed to console 🖥️ Requirements • C++ compiler (e.g., g++, clang++) • SDL2 development libraries installed 🧠 Game Logic • The board is a 3×3 integer array: • = empty cell • = X • = O • Players click on empty cells to place their symbol. • The game checks for a winner after each move. • If a player wins, the result is printed in the console.
