Replit source: https://replit.com/@jwsy/avocado-bubbles-free
Welcome! Kaboom is a JavaScript library that helps you make games fast and fun :D
This is a Kaboom.js game to entertain toddlers (use that Guided Access mode) with sounds provided by my three-year-old kiddo who loves avocados and putting out fires. Easter eggs: - s - show stats for nerds - t - engage TURBO MODE
Install node LTS, I follow these instructions to use nvm for my node version control.
The dist is built in JS with nodejs (using esbuild) by running node run.js
. This builds and runs the server. Stop the server ^c
- Update
package.json
to include all of your dependencies and then do anpm i
to install dependencies. The current version (as of Sep 2022) doesn't update this file based on the dependencies installed. - Build the game with
node run-build.js
and then serve thedist/
dir (easiest if python is installed ispython -mSimpleHTTPServer
orpython3 -mhttp.server
). - The
run-build.js
script will put all the necessary files indist/
- Grok the
Dockerfile
andfly.toml
files to see how the assets in thedist/
folder is pushed to the container image and ports are forwarded. - Build & deploy with fly.io by doing a
flyctl deploy
to build & deploy it.