We Accidentally Built a Game Engine.Our game works, but its rules and its screen are tangled together in one file of more than four hundred lines. Today we pull them apart, so the same game can run in a terminal now and in a browser lat1d ago · 29 min readjourneytocode.io
Idle Is Not a Timer.Our game has a progression loop now. Kill a slime, get paid, level up, buy damage, kill a tougher slime. It still stops the moment you stop clicking. So today we are going to make time part of the gam38IMY3d ago · 22 min readjourneytocode.io
`false` Is Not an Answer.Our player earns gold now. After eight stages, they have ninety-six of it and nothing to spend it on. That is not a reward. That is a high score. So today we are going to sell them something: more dam25d ago · 18 min readjourneytocode.io
Winning Is Not Progress.Our game can fight its way through stage after stage now. Click. The slime falls. A tougher one oozes in. Click. That is a loop. It is also a treadmill. Every slime gets stronger. Our player never doeOct 19 · 20 min readjourneytocode.io
One Fight Is Not a Game.Every fight in our game ends the same way. The slime dies. Then the program dies with it. So far, winning has been how our game ends. In an idle game, winning is how the game keeps going. One enemy faOct 17 · 13 min readjourneytocode.io