Creates a new GameStore and loads saved settings.
OptionalcanvasOptionalgameDefault keymaps using modern KeyboardEvent.code strings. order: up, left, down, right, fire
Creates a new player or bot and adds it to the store.
Whether the player should be a bot.
The newly created player.
Initializes default players if none exist.
Loads settings from localStorage if available.
Saves current settings to localStorage.
Data Structure for the global state of the website. Manages players, game instances, and settings persistence.