diff options
author | elioat <elioat@tilde.institute> | 2023-04-30 20:41:11 -0400 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2023-04-30 20:41:11 -0400 |
commit | f79279fb25afa9a571f8e2d53cb49cf44b3e6ff0 (patch) | |
tree | ede12127e4cc8d538b86cb2f4a6b27628c7e876a | |
parent | 3ff2ba5a46877b7956a75ce1fcece69632016d52 (diff) | |
download | tour-f79279fb25afa9a571f8e2d53cb49cf44b3e6ff0.tar.gz |
&*
-rw-r--r-- | lil/game.lil | 7 | ||||
-rw-r--r-- | lil/giblang.lil | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lil/game.lil b/lil/game.lil index daffc5d..b75c565 100644 --- a/lil/game.lil +++ b/lil/game.lil @@ -1,6 +1,4 @@ -active_game:1 - -on listner do +on ask_for do show["B(anana)"] show["A(pples)"] input["> "] @@ -18,8 +16,9 @@ on process x do end end +active_game:1 while active_game ~ 1 - user_input:listner[] + user_input:ask_for[] process[user_input] end \ No newline at end of file diff --git a/lil/giblang.lil b/lil/giblang.lil new file mode 100644 index 0000000..b2569f9 --- /dev/null +++ b/lil/giblang.lil @@ -0,0 +1,7 @@ +cons: ("b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "r", "s", "t", "v", "w", "z", "ch", "sh", "zh", "th") +vow: ("a", "e", "i", "o", "u", "y", "ee", "ai", "ae", "au") + +sys.seed:sys.ms + +syl:random[vow 1],random[cons 1] # 1 syllable +rand:random[(1,2,3) 1] # random number between 1 and 3, inclusive |