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

barricade.gno

1.16 Kb · 26 lines
 1// Package barricade is the on-chain page of the BARRICADE listing in the Memba
 2// App Store. The game runs in Memba; this realm holds no state.
 3package barricade
 4
 5// Render returns the same page for every path.
 6func Render(_ string) string {
 7	return `# BARRICADE
 8
 9*Hold the Paris barricade against the machines*
10
11A browser-native defence game in a French civic setting: hold the cobblestone barricade as waves of machines advance down three lanes. Play instantly with no wallet — a wide battlefield on desktop, a portrait front line on phones.
12
13## How to play
14
15- Left and right arrows, 1, 2 and 3, or a tap on a lane change lanes; you fire automatically.
16- S shoves the nearest machine in your lane, R rallies, P pauses.
17- M or the Molotov button aims a molotov: arrows choose lane and range and Enter throws, or tap the target.
18- Between waves, spend scrap on repairs, turrets or the crowd.
19
20## Scores
21
22Everyone gets the same daily seed; practice runs do not count. 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.
23
24[Play BARRICADE in Memba](https://memba.samourai.app/mainnet/game/barricade)
25`
26}