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.
python3 -m http.server 5173Open:
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
Production now runs on Cloudflare Pages with _redirects for server-side 301 redirects.
Manual deploy from the repository root:
npm run deployProduction 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.
- Create or open the GitHub repository for the site.
- 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- Open
Settings > Pagesin the GitHub repository. - Set Source to
Deploy from a branch. - Set Branch to
mainand Folder to/root. - 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.
- 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, andgame.jsuse 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.jpgis reachable as the social share image.- Privacy Policy and Terms pages are linked from the menu.
og:image,twitter:image,canonical,robots.txt, andsitemap.xmlusehttps://bitesizearcade.com/.- Add
https://bitesizearcade.com/to Google Search Console after deployment. - Submit
https://bitesizearcade.com/sitemap.xmlin Google Search Console after major sitemap updates. - Confirm
/games/order-rush/is recognized as a 301 redirect to/order-rush/.
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