/* Chance. Every chance in the town is decided in advance. */ #ifndef FATE_H #define FATE_H #include /* The answer, from 0 to sides - 1, to a question asked of a seed at a time. * The same question asked of the same seed at the same time always has the same answer. */ unsigned fate(uint64_t seed, long when, int question, unsigned sides); #endif