Skip to main content
Tap Tap is the smallest single-player mini game: tap the button as many times as you can in 10 seconds. It does not connect to the game service or use game energy. It shows the SDK features every game uses. The source is in games/hello in the server repository.

Files

The game package CSP does not allow inline scripts, so put scripts in separate files.

manifest.json

id must match the app’s identifier on the forum. See Manifest, scopes, and game packages for the fields.

index.html

Key parts of main.js

Pack and play

pack.sh zips the files together with the SDK:
After uploading, open https://www.nodeloc.com/games/hello in a browser. The forum redirects to the web version and completes authorization. See Local development and publishing for uploading and local debugging.

Next steps

  1. Copy the template and change id, name, and orientation in manifest.json.
  2. List only the scopes you use in scopes. Each extra scope is one more item to check in review and one more item the user confirms on first authorization.
  3. For multiplayer matches, read Real-time matches and Rulesets.