Skip to content
DrEightPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Wonderboy — Wild Coast

A browser remake of Wonder Boy, reimagined as a desktop-only 32-round Canvas game.

Vanilla JavaScript, ES modules, no build step.

Run it

cd /Users/luigiottoboni/Projects/wonderboy
npm start

Open:

http://127.0.0.1:4173/

If you already have the server running, just open the URL again. Running npm start twice will show EADDRINUSE, which means the game is already being served.

Controls

  • A / D or ← / → — move
  • SPACE — jump
  • X — throw axe
  • P or ESC — pause
  • S — save
  • L — load manual save

You can also use the buttons in the page for Start, Continue, Save, Load, Pause, and Sound.

Test

npm test

Project shape

  • src/engine.js — game rules, levels, save/load, simulation
  • src/main.js — Canvas rendering, UI, input, audio
  • src/world.js — older world generation prototype, mostly superseded
  • tests/ — automated checks for simulation and browser rendering
  • tools/serve.mjs — local static server

Visual QA

WebKit is the recommended browser for headless checks because Chrome has crashed in this environment.

PLAYWRIGHT_MODULE=/private/tmp/wonderboy-browser-tools/node_modules/playwright/index.mjs node tools/capture-game.mjs

Captures are written to /private/tmp/wonderboy-captures.

Notes

The game is intentionally original art and altered gameplay. It is a tribute, not a direct reproduction.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages