hatgame Run: make ./hatgame Then cry about your broken brain too... Of course math agrees with all of this and we can do even better!! Paper: Computing optimal strategies for a cooperative hat game