nsnake
Classic snake game for the terminal
|
Better random number generator. More...
Functions | |
void | seed () |
Must be called before any of those. More... | |
int | between (int min, int max) |
Random number between min and max . More... | |
bool | boolean () |
Random boolean. More... | |
bool | booleanWithChance (float percent) |
Random boolean with chance of #percent. More... | |
Better random number generator.
int Utils::Random::between | ( | int | min, |
int | max | ||
) |
bool Utils::Random::booleanWithChance | ( | float | percent | ) |