Back to all projects Project

Snake TUI

A dependency-free Snake game with a curses terminal , an optional tkinter , local and AI arena modes, deterministic replay, and TCP multiplayer, built to stress-test an delegation workflow.

2026 Game developer
  • Python
  • curses
  • tkinter
  • TCP
  • Game
Snake TUI project cover

What it is

Snake TUI is a Snake game that runs in a terminal with no third-party dependencies. Beyond classic single-player, it adds local two-player versus, human-versus-AI, and co-op modes, an optional tkinter window, and networked matches over TCP. An attract kicks in after the start menu sits idle.

Under the hood

The AI opponents come in four skill levels, from random safe wandering up to a Hamiltonian-cycle strategy that follows a board-covering path with safe shortcuts. Network play uses an authoritative TCP server: the host owns the engine and broadcasts arena snapshots while clients send input intents. Deterministic snapshots and seeded matches make games reproducible for replay and testing.

Why it exists

The game is real, but it was built as a field test for a Claude/Codex-to-Cline delegation plugin. Most of the implementation was delegated to cheaper models through that workflow, with a stronger stepping in only to review or unstick a stuck Run. It was made first as a simple terminal game, then extended with bots, multiplayer, and a GUI in a second pass.

Current state

Active and public. It runs on Python 3.10 or newer and persists high scores per difficulty.