Skip to main content

Terminal games for the idle moments between coding agent runs

Project description

Lantern Games

Terminal games you can play without leaving your CLI.

Why

If you use coding agents, you know the feeling: you kick off a task, and then you wait. A few minutes, sometimes longer. Not long enough to do real work. Long enough to get bored.

Opening YouTube or social media fills the gap, but context-switching to a browser pulls you out of flow — and the doomscrolling isn't great for your head.

These are small, clickable terminal games designed for exactly that gap. Low-attention, fun, no window-switching. Play a round while your agent works, then get back to it.

Install

pip install lantern-games

Or from source:

git clone https://github.com/kalpitdixit/lantern-games.git
cd lantern-games
pip install .

Play

lantern treasure-hunt

Or without installing:

git clone https://github.com/kalpitdixit/lantern-games.git
cd lantern-games
python -m lantern_games treasure-hunt

Games

Game Command Description
Treasure Hunt lantern treasure-hunt Dig for treasure on an 8x8 grid. Find gold, avoid traps, use distance clues to guide your digs. Click or type coordinates.

Requirements

  • Python 3.8+
  • A terminal with mouse support (Terminal.app, iTerm2, most Linux terminals)
  • No external dependencies

Logs

Game logs are saved to ~/.lantern-games/logs/.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lantern_games-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lantern_games-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file lantern_games-0.1.0.tar.gz.

File metadata

  • Download URL: lantern_games-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lantern_games-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e3614f67548866a9c2cd8c45a6e8f3611577eb2e11f5a6b644c82769b5134c1
MD5 c4c2423621256f1dca9e37714f2219e3
BLAKE2b-256 3c9347923c5403ba9fe5863128182deb34cb8a26cfa229d0265c8aa518acd9bb

See more details on using hashes here.

File details

Details for the file lantern_games-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lantern_games-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lantern_games-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d27960f7b0db00ff4f94e6a0e5a99be5ce399a7bf885e45cb7f93fb17facd357
MD5 a95800c7ebe25518b37e57d12a1563c8
BLAKE2b-256 a6fde17747c887d85fdf7c5fd40e322248b66e91bfa2f71c2a358e893a6ff55d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page