Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Playground

gnomod.toml

module = "gno.land/r/samcrew/space_invaders"
gno = "0.9"
private = true

[addpkg]
  creator = "g136j0m08pkm2lwwde9dmlx8uee26llent9s5cpf"
  height = 292618
  max_deposit = "400000ugnot"

space_invaders.gno

// Package space_invaders is the on-chain page of the Space Invaders listing in
// the Memba App Store. The game runs in Memba; this realm holds no state.
package space_invaders

// Render returns the same page for every path.
func Render(_ string) string {
	return `# Space Invaders

*Classic arcade shooter*

Defend 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.

## How to play

- Left and right arrows, or A and D, move.
- Space or W fires. P or Esc pauses. Enter launches a run.
- On touch screens, drag on the left half to steer and tap the right half to fire.

## Scores

Your 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.

[Play Space Invaders in Memba](https://memba.samourai.app/mainnet/game/space-invaders)
`
}