create-okona-game
v0.2.0
Published
Scaffold a phone-controlled multiplayer HTML5 game for Okona: lobby, join code, six seats, and a game.js to make yours.
Maintainers
Readme
create-okona-game
npm create okona-game my-party-gameScaffolds a phone-controlled multiplayer HTML5 game for Okona: a lobby that shows the join code until the room is full, six seats with names and colours pushed to each phone, the frame loop, and a game.js with start / update / draw hooks holding a small sample (a coin-grab race) to replace with your game.
Open index.html in a browser and the keyboard is P1 — no build step, no package.json. Ship it with the okona CLI (npx okona-cli, Node 18.17+): push to your sandbox first to try it with real phones, then publish, and phones join by scanning the code on the TV.
Zero dependencies. Docs: https://okonaonline.com/developers/docs.html#html5 · SDK reference: https://okonaonline.com/developers/docs.html#js-sdk
