Skip to content

Instantly share code, notes, and snippets.

@jakevsrobots
Created August 24, 2020 14:08
Show Gist options
  • Save jakevsrobots/c53a91cbbaa2f9f43110627137d7818d to your computer and use it in GitHub Desktop.
Save jakevsrobots/c53a91cbbaa2f9f43110627137d7818d to your computer and use it in GitHub Desktop.

This is the roog code:

who lives here?
- '@' is for you
- '*' is for [lightning bug]

what are the floors?
- '.' is for [swamp floor]
- 'o' is for [cloudy water]

how does it start?
1.  draw [swamp floor] everywhere
2.  draw yourself somewhere
12. say "welcome to the swamp"
13. stop
+   draw [cloudy water] somewhere
+   4 times, draw [cloudy water] somewhere 
    next to [cloudy water]
+   draw a [lightning bug] somewhere

And this is what the play area looks like:

..................o.....................
.................oo.....................
................oo......................
...*.........o..oooo....................
............oooo..o........oo...........
...............oo.oo.......o......*.....
.......*......o...........o.............
............................*...........
........................................
....o...............@...................
..........o.............................
........................................
                    welcome to the swamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment