yumaikas/sakiamu@sakiamu@tech.lgbt
@sakiamu@tech.lgbt 님에게 답글

#mfgj At the time, I mostly composed it using Notion (I've since left Notion as a tool for LLM reasons, though I enjoyed my time with it quite a bit, and nothing has quite landed where it was).

So, how do you take an attempt at a semantic black hole and turn it into something interactive?

How about using a programming language that has very little syntax?

yumaikas/sakiamu@sakiamu@tech.lgbt
@sakiamu@tech.lgbt 님에게 답글

#mfgj I've been working on a language project called Nova. It's based on a list of rules over a bunch of stacks, each with a name (except for the one stack that is nameless).

In a Nova file, the first non-whitespace character is the thing that toggles you between the conditions that cause a rule to fire, and the consequences of a rule:

| causes | effects

Inside the causes and effects, the -next- non-whitespace character is used for stack names

| :a stack: of causes | :a stack: of effects
1 1 1

불러오는 중…

yumaikas/sakiamu@sakiamu@tech.lgbt
@sakiamu@tech.lgbt 님에게 답글

#mfgj Finally, rules are tested from the top of the file to the bottom, the first one that matches is fired. After a rule matches and is fired, the process of testing rules starts over.

The nice thing about Nova for this shitpost of a game is that it doesn't have much syntax. Just enough to mark out stack and labels, and whitespace to separate symbols in a fact.

Which makes it a perfect host for an emoji-based code crime, like what follows:

yumaikas/sakiamu@sakiamu@tech.lgbt
@sakiamu@tech.lgbt 님에게 답글

Behold! The game logic!

#mfgj

**~~
~map~ (
🌊 🌊 🌊 🌊 🌊 🏝️
🌊 🌊 🌊 ⛅ 🌊 🌊
🌊 🏝️ 🌊 🌊 🌊 🌊
🌊 🌊 🌊 🌊 🏝️ 🌊
🌊 🏝️ 🏝️ 🌊 🌊 🌊
🌊 🌊 🌊 🌊 🌊 🌊
)

~move to~ 🌇 @ 🎲 x 🎲 y
~move to~ ⛵ @ 0 x 5 y

~🍗~ 5
~🐚~1 ~🔻~🐚
~day~ 0

*~~ 🔻🍗OR💀
~~ ↕️OR↔️
~~ ❗ 🎲
~~ ❓🔁
~🍗~ 0 ? * ~~ 💀

*~~ 🔻🍗OR💀 *
~~ time passes
~🔻~🍗
~~ show map


* ~~ ↕️OR↔️ *
~~ moving...
~❓~ ( W N S E )

*~~🔁*
~~ 🔻🍗OR💀
~~ ↕️OR↔️
~~ ❗ 🎲
~~ ❓🔁

*~~ ❗ 1 * ~~ ❗ 2
*~~ ❗ 2 * ~~ ❗ 3
*~~ ❗ 3 * ~~ ✍ [🌊 or 🏝️]
*~~ ❗ 4 * ~~ ✍ [🐠, 🦑 or 🦐]
*~~ ❗ 5 * ~~ ✍ [📦!] ~🔺~🍗 ~🔺~🐚
*~~ ❗ 6 * ~~ ⛈

*~~ ⛈ 1 * ~~ ⛈ 2
*~~ ⛈ 2 * ~~ ⛈ 3
*~~ ⛈ 3 * ~✏~ [🦈!] ~🔻~ 🐚 or 🍗
*~~ ⛈ 4 * ~~ ⛈ 5
*~~ ⛈ 5 * ~✏~ [🔪🦈😅] ~🔺~(🍗 🐚 🐚)
*~~ ⛈ 6 * ~✏~ [🌀⛈️] ~move to~ ⛵ @ 🎲 x 🎲 y
*~~ ⛈ * ~~ ⛈ 🎲

* ~~ 💀? ~~ ❗ 🎲 *
* ~~ 💀? ~~ ❓🔁 *
* ~~ 💀 *
~~ ✍ [💀]
~~ 🪞

* ~⛵ loc~ $x $y ~🌇 loc~ $x $y ~~ ❓🔁 *
~~ ✍ [🌆😅🏠!]
~~ 🪞

* ~~ ❓🔁 *
~~ record day
~~ 🔁

* ~~ 🪞 ~🐚~ 0 * ~✏~ FIN
* ~~ 🪞? ~🐚~ $n? *
~~ ✍ [🐚]
~🔻~ 🐚
1 2
yumaikas/sakiamu@sakiamu@tech.lgbt
@sakiamu@tech.lgbt 님에게 답글

#mfgj There -is- another file that connects that game logic to pedestrian concerns like displaying in a browser, how random numbers are generated, and asking the user for input, but the core of the game fits in a toot, (though not in a classic tweet)

The other nice thing about Nova for this is that the "my state is a bunch of stacks that I write rules over" model makes it easy to write event-based/async heavy logic, which is what a call and response game like this needs.