A Turn-Based Game Loop

1 · Bob Nystrom · July 15, 2014, 7 a.m.
canvas { padding: 6px; background: #222; margin: 10px auto; max-width: 90%; display: block; } Now that my roguelike written in Dart is open source, I wanted to talk about a piece of it that I put a lot of time into. Well, I actually poured way too much of my life into lots of parts of this game, and maybe I’ll write about those too, but for now let’s start where most games start: with the game loop. Here’s the game I’m talking about. You can play it here. Don’t get freaked out by a...