A Strange Game: The wargames Easter Egg
Run the terminal homage to the film WarGames and its famous quote.
Run wargames, respond to the prompts, and it prints the classic quote.
01Command
Command
$ wargames02What it does
wargames is a small bsdgames program that recreates the film's scene: it asks which game to play and then answers with the iconic line about the only winning move being not to play. It is pure terminal nostalgia and interacts in seconds.
03Risk
!Warning: It is a novelty program, not an actual game; it exits after printing the quote.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Debian package: bsdgamesEvidence: Installs bsdgames, which includes the wargames joke program.
- wargames(6) — Debian manpageEvidence: Documents wargames, which prints the movie quote and prompts for a game choice.
Last verified: 2026-09-20 · Category: Developer
06Related solutions
Update and upgrade packages on Debian/Ubuntu with apt
Refresh the package index from all configured repositories, then install newer versions of every upgradable package.
Search text recursively in a directory with grep
Find every occurrence of a pattern across all files in a tree, printed as file:line:number matches.
Extract a .tar.gz archive with tar
Unpack a gzipped tarball into the current directory while printing each file as it is extracted.