This PR adds two new world variables to provide more validation support for Dance Party levels.
The curriculum team would like to give more targeted feedback for common user errors. The particular case that motivated the addition of this validation support is in the Dance Party progression, level 2. The user is asked to create a dancer (makeAnonymousDanceSprite), then have it do a new dance move (changeMoveEachLR).
A common bug is when the two blocks (are out of order. Currently, the feedback is inaccurate because the curriculum team also wanted to address the other common error which is when the two blocks are in the correct order but they don't have matching costumes. Now we provide support for the case when the two blocks have the same costume but are out of order.
This PR adds two new
world
variables to provide more validation support for Dance Party levels.The curriculum team would like to give more targeted feedback for common user errors. The particular case that motivated the addition of this validation support is in the Dance Party progression, level 2. The user is asked to create a dancer (
makeAnonymousDanceSprite
), then have it do a new dance move (changeMoveEachLR
).A common bug is when the two blocks (are out of order. Currently, the feedback is inaccurate because the curriculum team also wanted to address the other common error which is when the two blocks are in the correct order but they don't have matching costumes. Now we provide support for the case when the two blocks have the same costume but are out of order.
Before update:
https://github.com/code-dot-org/code-dot-org/assets/107423305/3de73440-ac3f-4fce-a8d9-7bcdf4cc2731
After update:
https://github.com/code-dot-org/code-dot-org/assets/107423305/c5496179-8af2-4199-91fd-7de6ea0ed042