Ranges in random. Nesting in rotate/sequence. #98
IFforL2
started this conversation in
Developing Squiffy
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
One of my students wants to make a game where a character has to draw a card. This jarringly reminded me that
@set random:card1=🂡-🃞
doesn't work. i.e. No random ranges in Squiffy without JavaScript.{sequence topCard:🂠:{card1}:[Show your card].}
nor{rotate topCard:🂠:@card1}
works. i.e. No nesting Squiffy attributes inside of sequence or rotate.mrangel did set up
@set random:@card1|@card2
. i.e. Nesting attributes inside of random.I can do what she wants in JavaScript, but I think anybody with some familiarity with Squiffy would find these additions to be pretty intuitive.
Anybody got the skill set and interest?
Beta Was this translation helpful? Give feedback.
All reactions