11 lines
295 B
C
11 lines
295 B
C
// this code is licenced under Wrathmark licence
|
|
// © 2026 wullie wulliestudio.com
|
|
// please see attached licence for full usage and rights
|
|
|
|
#include "stdWullie/namespaces/random.h"
|
|
|
|
int randomChoice(int min, int max){
|
|
int ranged = min + (random.xor32() % (max - min + 1));
|
|
return ranged;
|
|
}
|