Skip to content

victorliu15/Arcane-Shell

Repository files navigation

Arcane Shell (wizard-boxing)

Browser-based Three.js wizard combat game. Run it locally with Node.js.

Requirements

  • Node.js 18+ (LTS recommended)
  • A modern desktop browser (Chrome / Edge / Firefox)

Install on another computer

  1. Copy or clone this folder to the machine.

  2. In the project directory:

    npm install
  3. Start the dev server:

    npm run dev
  4. Open http://localhost:3000 in your browser. Click the page when prompted so pointer lock works.

The crafting companion page is built as http://localhost:3000/craft.html (same dev server).

Production build (optional)

npm run build
npm run preview

Preview serves the built files locally (see terminal for the URL).

Optional: Wii Remote motion (Windows)

If you use a real Wii Remote via WiimoteHook (DSU on port 26760), run the bridge on Windows in a second terminal after npm install:

node wiimote-bridge.mjs

Defaults: DSU 127.0.0.1:26760, WebSocket ws://localhost:26761. Override with --dsu-port, --ws-port, --dsu-host if needed.

The xinput-ffi package is native; npm install must succeed on Windows for rumble support. The main game still runs with keyboard/mouse without the bridge.

Scripts

Command Description
npm run dev Vite dev server (port 3000)
npm run build Typecheck (tsc) + Vite production build
npm run preview Serve the dist/ build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors