Loading Logo

Kisses and Cuddles

A high-performance, interactive Tic-Tac-Toe game featuring smooth graphics and matrix-based logic. Built using Python and Pygame, this project demonstrates fundamentals of 2D game architecture, efficient win-condition algorithms, and cross-library integration.

Players compete locally in a polished UI designed for responsiveness and visual clarity.

Kisses and Cuddles Gameplay
Python
NumPy
Pygame
Tkinter

Key Mechanics

Matrix Logic

Utilizes NumPy arrays for high-performance board state tracking and manipulation.

Coordinate Mapping

Precise calculation to translate screen-space pixels into grid-space array indices.

Win Detection

Algorithmic scanning for horizontal, vertical, and diagonal victory patterns.

Instant Reset

Integrated keyboard listeners (R key) to instantly clear state and restart the loop.

Native UI Alerts

Bridges Pygame with Tkinter to trigger OS-native winner notification boxes.

Custom Graphics

Custom-rendered circles and crosses with distinct, accessible color palettes.