npm.io
0.1.0 • Published 4d agoCLI

@terminalgames/ink-pacman

Licence
MIT
Version
0.1.0
Deps
2
Size
105 kB
Vulns
0
Weekly
0

Ink Pac-Man

Terminal Pac-Man built with Ink.

Features solid block walls, bold Unicode sprites, and a 2-column cell grid for a clearer arcade look in the terminal.

Install

Requires Node 20+.

npx @terminalgames/ink-pacman

Global install

npm install -g @terminalgames/ink-pacman
ink-pacman

Controls

Key Action
h / Move left
l / Move right
k / w / Move up
j / Move down
p Pause / resume
r Restart
enter Continue after level clear
? Toggle help
q Quit

Development

npm install
npm run build
node dist/cli.js
npm test
npm run typecheck

Game logic lives in pure TypeScript modules under src/game/; Ink UI is under src/ui/.

Publish

Maintainers only. Requires access to the @terminalgames npm organization:

npm login
npm publish --access public

Keywords