Game SDK

↓ Download SDK 0.3.0

Internal VORIVOX development. Preview package: remaining gates are listed under compatibility.

HTML5 project structure

A developer opening the project for the first time should immediately find three things: SDK integration, gameplay rules and translations.

Recommended layout

game/
  index.html
  js/bootstrap.js      # VORIVOX integration only
  js/session.js        # session state, timer, completion
  js/gameplay.js       # targets, scoring, players
  js/render.js         # Canvas/WebGL
  i18n/*.json          # 12 languages
  assets/
  vendor/vorivox.js

bootstrap.js stays thin

Subscribe to the SDK here and call session/gameplay functions. Do not move the whole game into the integration file.

session.js owns completion

Keep idle/running/paused/completed state, active time and the complete-once guard here. A timer and a hit handler must not finish independently.

gameplay.js owns rules

Scoring, current player and split-target routing belong here. This module should know nothing about WebSocket URLs or session tokens.

Release contents

Ship built browser assets only. Exclude node_modules, build caches, live manifests, credentials and logs. Fonts, translations and game assets must work locally.