Categories
Code

Developing a Game Over 9 Years

It began with a flight that was delayed for over five hours in the Boston airport after the 2010 US Nationals. At the time, I only really knew C++ and basic terminal interaction. I cannot recall where the idea came from besides manipulating array elements. There was a 1 by 3 row of “bits”, and […]

Categories
Code

Processing Many Small Files with Apache Spark

Apache Spark is straight-forward to use when there are large files that need to be chunked up and read, but what about when you have many small files? In this post we’ll look at a way to address many small files and some parameter tuning to speed that up. The sample data we’ll be looking […]

Categories
Code

Optimal Catan

Settlers of Catan (SoC) is a German board game from the mid 90’s that found mainstream success in America in the late–00’s. To summarize the game: the board consists of 19 hexagonal resources tiles and these tiles get numbered markers (2–12). There are five resources, lumber, sheep, ore, brick, and wheat. These are used to […]