On Friday, July 7, 2017 at 12:30:33 PM UTC-6, kirby urner wrote:
Do you know what the web version of Scratch is written in?
At the sub-minimal level you could wrap it in an iframe complete with some "timer" code to message the credit-feeder website after a certain elapsed time. The whole thing loses its purpose at that point, since that approach is intrinsically flawed (thinking they'll be constructive if you just make them sit there for "x"amount of time, BUT you could even wrap a remote app in that way, as well. Otherwise it needs two things, the concept of a goal and to send a message to the iframe's parent that goal achieved. So you could make the goal to create something in Scratch using at least 5 of those snap-together objects (idk if that's a good #), and only need to add something in the function which executes their (Scratch) product which counts how many objects they used and if it runs, then sends the message.
-Charles