Today we've published the thirteenth chapter in our early access release for 500 Lines. The chapter was written by Jessica Hamrick.
In this chapter, Jess teaches us about sampling, a generally applicable technique for complex problems in which it is difficult to find an exact solution. She uses an interesting motivating example -- generating magical items in a game -- to explain how this works. Along the way, we also learn how to write code that works at the limits of floating point precision.
As usual, if you find errors you think are worth reporting, please open an issue on our GitHub tracker.
Enjoy!