MarkovJunior Interactive Extensions #46
Yuu6883
started this conversation in
Show and tell
Replies: 2 comments 10 replies
-
Impressive! I see it came a long way. The speed slider doesn't really increase speed x100 for me, although in other (non-interactive?) models it does. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The sequential Sokoban is the only Sokoban one that does the right thing and doesn't lock up the webpage so it needs to be reloaded. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I modified the original Tetris model and extended a few nodes and recreated the Tetris game with MarkovJunior (live demo)

Model file
Extended nodes for better control flow of the program:
<scope>
node is like<sequence>
, but more like a passthrough like a { scope block } in traditional language<and>
node runs its children sequentially, but terminates when a child node fails to match anything, useful for a condition chain in the program.<event>
node always return success but fail after a certain amount of time pass, it also runs its children which would run their subtree if the event condition matches, e.g. key down/up.There is a problem with symmetry that's not matching actual Tetris but can be fixed by splitting the rules (left L shape and right L shape with 2 different colors).
Beta Was this translation helpful? Give feedback.
All reactions