3 ms·
Disclaimer: I'm the author of the tutorial (and core team member of Prototype, and the author of scripty2) You can probably port the ideas and basic functional
by madrobby 16y ago
Disclaimer: I'm the author of the tutorial (and core team member of Prototype, and the author of scripty2)
You can probably port the ideas and basic functionality very easily to other frameworks. Prototype or scripty2 don't contain anything specific to games, however. It's easy to write the interactions required in plain old JavaScript...
I do like to use Prototype for stuff like this, because it helps clean up the "logic" code a lot (for example the "avoiding stuck cards bit", section 17 in the tutorial.
Note that if you like this style of coding, but prefer jQuery, you can use the Underscore.js library, you might want to look into that.