R7, R2, Heartbeat, Sessions, Code, cleanup, Outro

This commit is contained in:
LionTion committed 2026-10-16 04:31:51 +02:00
1 parent b5e5cc502d
commit 5b9fe3ea21
25 files changed
+346 -116

No files matched your search

+3
View File
@@ -1,6 +1,9 @@
import { Player } from "@/types/player";
import { PREF } from "./const";
export const MIN_PLAYERS = 2;
export const MAX_PLAYERS = 8;
export function setPlayers(players: Player[]) {
localStorage.setItem(PREF.players, JSON.stringify(players));
window.dispatchEvent(new Event('storage'));