No need to apologize, I didn’t claim I knew your purpose (notice all the if’s). what I said was essentially “IF it’s any of THESE purposes, then here’s why” because the other poster apparently could see NO PURPOSE for doing so.
Because there are LOTS of other POSSIBLE purposes you MIGHT have had (ones that I didn’t even bother to mention/critique because it seemed already obvious that they weren’t the purpose) that need not involve ssk at all, for example:
1. to demonstrate how “pure out-of-the-box corona” could do it in few lines (obviously not the case)
2. to demonstrate oop principles (fe having a separate class for world/camera/player/platform/spike/coin/etc)
3. to demonstrate idiomatic lua syntax (it fails this, but presumably because of the focus on line count)
4. to demonstrate luadoc style full commenting (using as MANY lines as needed - obviously not)
et al (iow, even those additions wouldn’t make it a complete list of possible purposes)
if you had left out the “in x many lines” bit i wouldn’t have even commented, because no-one would probably have ever asked “so how many lines w/o ssk?”. fe if it had just been “here’s a quick impl of doodle jump core mechanic” and leave it at that, no gauntlet thrown down to challenge the kids.
as it is, the loc aspect will just spark some to go rewrite it as obfuscated code in order to “beat your record”, which does little to advance any practical discussion.
because your theory itself is sound. (ie, that many popular games have easy-to-implement mechanics)
take the one-tappers fe (geometry dash, jetpack joyride, much of ketchapp’s portfolio, etc). you can distill their “model” (ie, ignore the “view”, what they “look like”) down to a game of tap-along-to-the-rhythm.
ie, if i give you a “percussion score” of “hit-rest-rest-hit-hit-hit-rest” but render it instead as blocks to jump over - you’re essentially just playing the music, but it looks like you’re playing geometry dash. if you really think about it, it’s amazing how many games can be boiled down to “playing a snare drum chart” - the core of which might only take a few loc to implement.