Iterates L-systems. There's no text wrap, so strings extend offscreen.
I'm going to try adding a turtle graphics function that appears over the top of the text that you can press z to toggle on/off.
Simulates algae by default, but you can easily change the system by editing the variable and varprod tables.
If you want to add a constant, just make the corresponding varprod the same character as the variable.
EDIT:
Don't press x to iterate, press z. i made a typo.
P#37924 2017-02-28 08:11 ( Edited 2017-02-28 14:20)
UPDATE: Today is monday the 16th.
Now leeches are one solid creature, and the camera follows their head.
Press z to lock/unlock cam.
Press x to randomise leech (only 3 breeds atm)
You can change the variable BORD to change the border size.
If you wanted, you could probably figure out how to add a new leech breed.
5 days until the deadline.
first post.
eventually this will be a virtual pet game.
I'm making it for the winter 2017 my first game jam on itch.
gradually getting my head around lua.
P#35359 2017-01-09 13:51 ( Edited 2017-01-17 00:26)