* fix conquer expansion DONE * perf improvements on graphics (only draw images to canvas on ticks) DONE * double join lobby bug DONE * render player info efficiently DONE 8/11/2024 * better troop addition logic DONE 8/11/2024 * better expansion, add back directed expansion DONE 8/11/2024 * use pastel theme for territories DONE 8/11/2024 * cache border in AttackExecution for perf DONE 8/11/2024 * harder to expand on other players (defense) DONE 8/12/2024 * lose troops when attacked DONE 8/12/2024 * slower to attack stronger players DONE 8/12/2024 * move all attack related config to Settings DONE 8/12/2024 * fix boat bugs DONE 8/12/2024 * add username in front page DONE 8/12/2024 * improve front page DONE 8/12/2024 * attacks cancel out DONE 8/13/2024 * upload and start server DONE 8/13/2024 * fix multiplayer DONE 8/14/2024 * fix server resource leak DONE 8/14/2024 * fix bug where game stops after 10s (websocket disconnection) DONE 8/16/2024 * balance attacks/expansions better DONE 8/16/2024 * delete players when territories too small DONE 8/16/2024 * double attack add troops DONE 8/16/2024 * Have some time for spawning before game starts DONE 8/16/2024 * fix desync DONE 8/16/2024 * fix server memory leak DONE 8/16/2024 * only send delta turns on connect/reconnect DONE 8/17/2024 * Create separate game config dev vs prod DONE 8/17/2024 * improve front page, only one game at a time every 30s DONE 8/17/2024 * create dev server DONE 8/18/2024 * BUG: boats freeze game on path calculation DONE 8/18/2024 * use analyitics DONE 8/18/2024 * Use Overpass font DONE 8/18/2024 * BUG: invert zoom DONE 8/19/2024 * better algorithm for name render placement DONE 8/19/2024 * show how many players in each lobby DONE 8/19/2024 * make boats larger DONE 8/19/2024 * boats same color as owner DONE 8/19/2024 * make coasts look better DONE 8/22/2024 * only put imageDataOnce, draw territories on top DONE 8/23/2024 * have boats not get close too shore DONE 8/23/2024 * improve terrain colors DONE 8/23/2024 * BUG: boat doesn't work if on lake if other player not on same lake DONE 8/23/2024 * Allow boats to attack TerraNullius DONE 8/23/2024 * try vintage theme DONE 8/24/2023 * BUG: fix hotreload (priority queue breaks it) DONE 8/24/2024 * improve menu (keep highlighted when click, allow deselect lobby) DONE 8/25/2024 * give time to (re) spawn at start of game DONE 8/25/2024 * show bar for long to respawn DONE 8/26/2024 * store & delay tile updates for lag compensation DONE 8/26/2024 * BUG: error if don't spawn and then click after spawn mode DONE 8/26/2024 * BUG: change player name after join lobby DONE 8/26/2024 * REFACTOR: use new priority queue DONE 8/27/2024 * BUG: players attack each other same time creates islands DONE 8/28/2024 * make bot spawn better DONE 8/28/2024 * make UX for attacking TerraNullius by boat better DONE 8/29/2024 * make bot territory less funky (more likely attack neighbors with larger border) * PERF: use hierarchical a* search for boats * PERF: precompute spawns * end game when no players left (or after 1 hour or so?) * boats can go around the world * Add terrain elevation to map * use better favicon * REFACTOR: give terranullius an ID, game.player() returns terranullius * REFACTOR: ocean is considered TerraNullius ? * REFACTOR: remove player config? * Make fake humans