• Howl

    Howl is a turn-based tactical game, where everything has an alternate form that is revealed under moonlight. I started this project to teach myself the rust programming language, and to experiment with entity component systems.

  • Roguelike Lighting Demo

    This is a demonstration of some lighting techniques I’ve been experimenting with. It was originally intended to be an entire game, but I’ve abandoned it to work on other projects.


  • New Name

    I’ve renamed this blog to Grid Bugs to better reflect the true nature of roguelike development.

  • Even Separation Algorithm

    This post describes an algorithm for evenly spreading out a sequence of items made up of two distinct types of item. I came up with it when attempting to draw straight lines on a grid, where lines are represented by discrete steps in one of two directions. In order for such a line to appear straight, the steps in one direction should be spread out as much as possible with respect to the steps in the other direction. The solution generalizes to spreading out any sequence made up of two distinct types of item that are repeated a number of times.