Simple dice game written in C++