afk-pong
v0.3.1
Published
Async cup pong against a friend, one throw at a time. A terminal game for the afk-arcade. npx afk-pong
Maintainers
Readme
afk-pong
Async cup pong against a friend, one throw at a time — a game for the afk-arcade to play while your AI agent finishes the job.
npx afk-pongSign in
Cup Pong is multiplayer, so it needs a GitHub sign-in the first time you run it — that's how a challenge finds you by handle, and how your matches follow you between terminals. Follow the device-code prompt once; after that you're remembered.
Challenge a friend
Press n for a new match, then pick who to play: choose a friend from the
list, or type any GitHub handle by hand to send the challenge directly. The
match shows up in their inbox the next time they open afk-pong, and they join
from there.
Your inbox lists every match you're in, whose turn it is, and the score.
The rules
- Each side racks 6 cups.
- Sink a cup and you throw again; miss and the turn passes.
- First player to clear all 6 of their opponent's cups wins.
- Matches are async — throw, then come back whenever your opponent has answered. Nothing expires.
Keys
space throw (lock power, then lock angle) · j/k move the inbox
cursor · enter open a match / confirm · n new match · q quit —
your match is always saved, so leaving mid-game costs nothing.
Agent beacon
Launched inside the afk-snake/afk-arcade side pane, pong shows a "your agent is ready" card the moment your agent finishes; any key dismisses it.
MIT
