Bits and Theorems

The simplicity of Prolog

January 25, 202525 minutesRead

Logic programming, what is it, and what can it do for you? We take a short look at the little-known paradigm of logic programming, and make a comparison between refactor efforts over the software lifecycle of the same simple authorization application implemented in Kotlin and Prolog.


The advantage of advantage

December 11, 202420 minutesRead

We take a deep dive into the advantage game mechanic of Dungeons and Dragons Fifth Edition. Just how good is advantage?


Tabletop role-playing games and probability generating functions

November 23, 202420 minutesRead

Using a nifty representation of probability distributions we'll build a tool to exactly calculate damage distributions for games like Dungeons and Dragons and Pathfinder.