Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitesize Arcade

Bitesize Arcade is a static mini-game website. The home page introduces the arcade brand, while Midnight Bites lives on its own optimized game page as a free online restaurant game.

Local Preview

python3 -m http.server 5173

Open:

http://127.0.0.1:5173

For real-device mobile testing, keep the phone and computer on the same Wi-Fi and open the computer LAN address, for example:

http://192.168.31.216:5173

Cloudflare Pages Deployment

Production now runs on Cloudflare Pages with _redirects for server-side 301 redirects.

Manual deploy from the repository root:

npm run deploy

Production URL:

https://bitesizearcade.com/

Deployment checks:

curl -I https://bitesizearcade.com/games/order-rush/
curl -I https://bitesizearcade.com/order-rush/
curl -I https://bitesizearcade.com/sitemap.xml
curl -I https://bitesizearcade.com/robots.txt

/games/order-rush/ and the other /games/{slug}/ aliases should return 301.

GitHub Pages Legacy Setup

  1. Create or open the GitHub repository for the site.
  2. Initialize and push from this folder:
git init
git add .
git commit -m "Initial H5 release"
git branch -M main
git remote add origin git@github.com:YOUR_NAME/YOUR_REPO.git
git push -u origin main
  1. Open Settings > Pages in the GitHub repository.
  2. Set Source to Deploy from a branch.
  3. Set Branch to main and Folder to /root.
  4. Save and wait for GitHub Pages to build.

Production URL:

https://bitesizearcade.com/

The repository keeps CNAME, robots.txt, sitemap.xml, and Google verification files for continuity, but Cloudflare Pages is the live host.

Launch Checklist

  • The home page presents Bitesize Arcade as the main site brand.
  • /midnight-bites/ presents Midnight Bites as the optimized game page.
  • /restaurant-games/, /food-games/, and /time-management-games/ provide category landing pages.
  • index.html, styles.css, and game.js use relative asset paths.
  • The mobile first screen shows the start button without requiring a scroll.
  • Food cards are large enough on 375px, 390px, and 414px mobile widths.
  • The loading screen, healthy-play notice, and age notice appear before the first run.
  • Audio starts only after a user gesture.
  • assets/social/share-cover.jpg is reachable as the social share image.
  • Privacy Policy and Terms pages are linked from the menu.
  • og:image, twitter:image, canonical, robots.txt, and sitemap.xml use https://bitesizearcade.com/.
  • Add https://bitesizearcade.com/ to Google Search Console after deployment.
  • Submit https://bitesizearcade.com/sitemap.xml in Google Search Console after major sitemap updates.
  • Confirm /games/order-rush/ is recognized as a 301 redirect to /order-rush/.

Project Structure

assets/icons/        PWA and browser icons
assets/social/       Social sharing image
docs/                Privacy Policy and Terms
food-games/          Food games category page
snack-games/         Snack games topic page
cooking-management-games/ Cooking management topic page
no-download-cooking-games/ No-download cooking topic page
hot-dog-food-games/  Hot dog food games topic page
idle-restaurant-games/ Idle restaurant games topic page
midnight-bites/      Midnight Bites playable game page
restaurant-games/    Restaurant games category page
time-management-games/ Time management games category page
index.html           Bitesize Arcade home page
styles.css           Page layout and mobile adaptation
game.js              Canvas game logic
manifest.webmanifest PWA configuration
robots.txt           Search crawler configuration
CNAME                GitHub Pages custom domain
sitemap.xml          XML sitemap

About

A mobile web game about street-food orders, global city flavors, and combo scoring.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages