microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
482 stars 209 forks source link

Play Only Share Links #3010

Open kphakes opened 3 years ago

kphakes commented 3 years ago

As a teacher, it would be really powerful to send a "play only" link to students (and others). This would allow the recipient the ability to play the game, but not see the code.

I teach Game Design to middle schoolers and I run a tech club were student compete with their games.

When introducing a game, I'd like the students to be able to play an example/finished game so they understand the desired functionality and behaviors. Some have never played retro style games. Its like trying to teach a piano student a new song without first playing them a rendition. I want them to be able to play, but not have or see the code. Many students would also like to share, but not give away their code.

When we compete, we'd also just like to make the game playable, but not reveal the code. We would consider using Arcade for competitions if this is was possible. Until then we use GameMaker and generate executable files.

If I was designing this feature, I'd make it part of the Share feature. One the first pop-up, just offer two buttons, one to create a "Create Code Link" and another that says "Create Play Link"

Thank you for your consideration.

abchatra commented 3 years ago

Students can build their own html page by coping the simulator embed code. This should only show the simulator.

image

Caveat: Someone can still hack this by looking at the source code and figuring out the key of the share page.

kphakes commented 3 years ago

Hi,

Thank you for the HTML idea. I have seen that, but it is not an easy option in an educational space. This seems like a natural option to the Share feature. Besides education, it seems really helpful to share a playable version that protects the code as easily as you share the code. I am really hoping this can be considered. It would be a significant help to adoption in educational spaces.

Thank You for reconsidering