Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

space_invaders.gno

0.98 Kb · 25 lines
 1// Package space_invaders is the on-chain page of the Space Invaders listing in
 2// the Memba App Store. The game runs in Memba; this realm holds no state.
 3package space_invaders
 4
 5// Render returns the same page for every path.
 6func Render(_ string) string {
 7	return `# Space Invaders
 8
 9*Classic arcade shooter*
10
11Defend the baseline across escalating waves in a browser-native Space Invaders. Play instantly with no wallet — keyboard on desktop, full touch controls on mobile. Deterministic engine, local high score.
12
13## How to play
14
15- Left and right arrows, or A and D, move.
16- Space or W fires. P or Esc pauses. Enter launches a run.
17- On touch screens, drag on the left half to steer and tap the right half to fire.
18
19## Scores
20
21Your high score stays in your browser. When certification is on, the Memba backend replays a daily run before it can reach the on-chain arcade board. This realm stores no scores.
22
23[Play Space Invaders in Memba](https://memba.samourai.app/mainnet/game/space-invaders)
24`
25}