Skip to content
Applied AI LLMsMinimaxDecision TreesFirebaseJavaScript

ConnectAI

A Connect Four game where a classic minimax engine and a large language model play together: traditional AI and LLMs, side by side.

The idea

Most “AI plays a game” demos pick one approach. ConnectAI runs two at once: a deterministic minimax move engine that plays optimally, and an LLM that narrates, reasons, and adds personality. It’s a small, playable argument for a bigger point: the two kinds of AI are good at different things, and the interesting systems combine them.

The move engine is optimized and predictable. The LLM is creative, bounded, and expressive. That mental model scales far beyond games.

Built as a standalone web app on Firebase, exactly the “dynamic satellite” pattern: the heavy interactive app lives on its own, linked from here.