export function getRandomInt(max: number) { return Math.floor(Math.random() * Math.floor(max)); }