jwsy / Avocado-Bubbles-Free

Free Kaboom.js-based game to entertain toddlers/preschoolers. Creative production/sounds provided by ELLY who loves avocados & bubbles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

avocadoavocadoavocado

Play the game hosted on Render

Replit source: https://replit.com/@jwsy/avocado-bubbles-free

avocadoavocadoavocado

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

Play the game locally!

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

avocadoavocadoavocado

Automatic Build

  1. Update package.json to include all of your dependencies and then do a npm i to install dependencies. The current version (as of Sep 2022) doesn't update this file based on the dependencies installed.
  2. Build the game with node run-build.js and then serve the dist/ dir (easiest if python is installed is python -mSimpleHTTPServer or python3 -mhttp.server).
  3. The run-build.js script will put all the necessary files in dist/
  4. Grok the Dockerfile and fly.toml files to see how the assets in the dist/ folder is pushed to the container image and ports are forwarded.
  5. Build & deploy with fly.io by doing a flyctl deploy to build & deploy it.

About

Free Kaboom.js-based game to entertain toddlers/preschoolers. Creative production/sounds provided by ELLY who loves avocados & bubbles


Languages

Language:JavaScript 82.9%Language:TypeScript 13.4%Language:HTML 3.0%Language:Nix 0.4%Language:Dockerfile 0.3%