1.0.0 • Published 1 year ago
gongga v1.0.0
Gongga
Gongga is a pong like ASCII game that is delivered as a installable web app, a terminal based game, and a plug-n-play web component.
Gongga on the Web
Develop
npm run serve
Open localhost:3000
Build
npm run build
Deploy
git commit -m "..."
git push origin master
Gongga Web Component
You can use Gongga as a plug and play webcomponent by doing this:
npm install gongga
import 'gongga';
<gongga-game></gongga-game>
Gongga on the Terminal
Install
npm install --global gongga
Run
gongga
Development of the CLI
You can make changes and test via the cli with this command
npm run play
Publishing the CLI
Bump the package.json version and then run:
npm publish