1
0

remove coin toss

This commit is contained in:
dtb 2023-11-25 11:10:04 -07:00
parent 4604ad4e4a
commit aa3797c4af

View File

@ -1,3 +1,2 @@
#define get_rand(x, y) (((rand() % ((y) - (x))) + 1) + (x)) /* 0 index */
#define rand_percent(odds) ((rand() % 99 + 1) <= (odds))
#define coin_toss (rand() & 1)