abozanona/pacman-contribution-graph — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript project that turns a GitHub or GitLab contribution calendar into fun arcade style animated SVGs. I want it to support several game modes, at least Pac Man, Breakout, Galaga, Puzzle Bobble, Bomberman, and Minesweeper, and let me pick themes that match GitHub and GitLab in light or dark mode.
It should work both in the browser and from the command line, so I can render a game for a real username or use fake contribution patterns like random, checkerboard, full, empty, gradient, or streaks for testing and demos. Please make the browser version easy to embed on a page and return the final SVG with simple callbacks for things like score updates, game over, and final stats.
I also want a small demo page so I can preview the games, plus an easy way to use it in a profile README with a scheduled GitHub Action that regenerates the SVG automatically. Keep it polished but simple, and look up current docs online if you need to.
Want more depth? Deep Reverse