diff --git a/src/utils/ids.ts b/src/utils/ids.ts index b53101f..dedb47c 100644 --- a/src/utils/ids.ts +++ b/src/utils/ids.ts @@ -9,4 +9,9 @@ export const generate_game_code = (): string => { } while (game_code.length < 6); return game_code; +}; + +export const generate_user_id = (): string => { + let uid = uuidv4(); + return uid; }; \ No newline at end of file