#include "dice.h" #include namespace dice { std::mt19937 gen(std::random_device{}()); int roll(int d) { std::uniform_int_distribution<> dist(1, d); return dist(gen); } }