Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paritally editable exercises #685

Open
gdkrmr opened this issue Apr 27, 2022 · 0 comments
Open

paritally editable exercises #685

gdkrmr opened this issue Apr 27, 2022 · 0 comments

Comments

@gdkrmr
Copy link

gdkrmr commented Apr 27, 2022

I cannot find the game any more but there was/is a javascript game where you have to escape a dungeon by editing javascript. The dungeon and the player's and enemies' movements are all javascript that is readable and partially editable by the player, sometimes you have to edit the dungeon layout and sometimes the movement of the player to escape.

The cool part is that you can see the entire code that generates the dungeon and the movement but you can only edit a few lines the rest of the code is static.

This would allow to make a function and you could force the user to only fill a specific argument or to only edit a single variable in a script. Being able to constrain a script this way would allow for much more complex exercises where the student has to understand some given code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant