Skip to content
All projects

AI / ML · Software Developer

TTTAI

4×4×4 3D Tic Tac Toe

A Java Swing desktop game implementing three-dimensional Tic Tac Toe on a 4×4×4 board, featuring an adversarial Minimax AI, a dark-themed scalable GUI, and full save-and-resume persistence.

Highlights

  1. 01

    Engineered an adversarial Minimax AI with alpha-beta pruning and adaptive depth (1--5) for a 4×4×4 3D board by evaluating a heuristic scoring function across all 76 precomputed win lines, enabling strong AI response times across every game phase.

  2. 02

    Architected a concurrent game loop using a daemon thread + LinkedBlockingQueue for blocking human input, decoupling UI events from game logic and eliminating EDT blocking — making AI computation and human turns fully non-blocking on the Swing event thread.

  3. 03

    Delivered a full 1,300+ LOC Java Swing desktop game (9 source files) with Human vs Human / Human vs AI modes (Random & Minimax), a resizable dark-themed board with hover glow and win-line highlights, plus a Properties-file save/resume system with a Pause & Quit toolbar action.