💾 Archived View for midnight.pub › replies › 8910 captured on 2024-12-17 at 18:58:37. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
I *finally* won a two-deck solitaire game I coded in Lua many, many months ago. Unfortunately, I don't know the name of my game, because it's something my sister learned in college many decades ago, and whoever taught her didn't know the name, so she and my dad and I have since simply called it "The Game".
What's important about winning my Lua version was I finally got to see the code path to the words "YOU WON!" exercised. Quite a while ago I started wondering if winning taking so long might have been more a coding error than my own ineptitude.
It's two different things writing a program to run a game and being able to beat it.
I do remember when I was 15 I coded up a simple shooter that everybody found very difficult but for me it was very easy, but that was because I knew all of the mechanics by heart. In the case of your solitaire game, you didn't even invent it, you just implemented it!