2 comments

[ 3.1 ms ] story [ 17.7 ms ] thread
I built a TUI wrapper around GitHub Copilot CLI that lets you play games while your AI codes. Press Ctrl-G to toggle between Copilot and a game — both sessions are preserved, so you can pause mid-game and check on progress.

Auto-switch mode (Ctrl-S) automatically swaps screens based on AI activity: games when the AI is working autonomously, back to Copilot when it needs your input.

Includes 13 turn-based games (10 WASM games from nbsdgames + 3 built-in JS games), plus support for custom games as single-file Node.js scripts.

No tmux, no native binaries — just Node.js. Works on Linux, macOS, Windows.

Run: npx copilot-fun

https://github.com/sirluky/copilot-fun

What do you think about it?