render_example_test.gno
0.52 Kb Β· 23 lines
1package memory
2
3// ExampleRender pins the realm's Render output as a testable example.
4func ExampleRender() {
5 print(Render(""))
6 // Output:
7 // # π§ Memory Match
8 //
9 // Match all 8 emoji pairs on the 4x4 grid.
10 //
11 // | | | | |
12 // |:-:|:-:|:-:|:-:|
13 // | β | β | β | β |
14 // | β | β | β | β |
15 // | β | β | β | β |
16 // | β | β | β | β |
17 //
18 // - Moves: **0**
19 // - Pairs matched: **0 / 8**
20 // - Seed height: **123**
21 //
22 // Call `Flip(index)` with a cell index 0β15. `NewGame()` reshuffles.
23}