Hats Calculator This is a toy JavaScript application for evaluating strategies for the game of n hat, as explained in this blog article.