Chess

Riddler 27th April 2018

I’ve been looking for small programming problems to practice on while running experiments. One such source is Fivethirtyeight’s Riddler column which posts conundrums weekly. This week one problem focus on one of life’s universal problems: how many urinals are needed in any bathroom for all patrons to use it without awkwardness. Formally this is phrased as: Some number, N, of people need to pee, and there is some number, M, of urinals in a row in a men’s room.

Hello World! And A Small Chess Plotting Package

Finally gotten around to using my blogdown website! Feels like a fairly good place to publicise a small package to plot chess games using only the pgn using ggplot2 in R which can be found here To copy the readme mini-vignette provides a nice overview of the uber-function which goes from pgn -> gif. As in the README massive thanks and inspiration to Joshua Kunst and his rchess package which I failed to get going on my laptop and decided to try my arm at writing something from scratch.