* 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) DONE 8/29/2024 * REFACTOR: remove player config DONE 8/29/2024 * give boats limit for how far they can go DONE 8/29/2024 * boats can go around the world DONE 8/29/2024 * max boats (3) DONE 8/30/2024 * PERF: more efficient spawns DONE 8/30/2024 * PERF: load terrain map async DONE 8/30/2024 * if completely surrended, lose piece of land DONE 8/30/2024 * Add terrain elevation to map DONE 8/30/2024 * Make territory translucent DONE 8/31/2024 * Have terrain affect attack DONE 8/31/2024 * PERF: enable CDN DONE 8/31/2024 * enable load balancing metrics DONE 8/31/2024 * BUG: island don't check if inscribed, just try to remove it DONE 8/31/2024 * if completely surrounded by same enemy, lose island DONE 8/31/2024 * BUG: fix boat leaves trail DONE 9/1/2024 * end game when no players left (or after 1 hour or so?) DONE 9/1/2024 * add structured logging DONE 9/1/2024 * improve background image DONE 9/1/2024 * make attack execution stream tiles to pq DONE 9/1/2024 * center map on game start DONE 9/1/2024 * use better favicon DONE 9/1/2024 * make mediterranion ocean, fix panama canal DONE 9/1/2024 * remove tiny islands DONE 9/1/2024 * Create exit to menu button DONE 9/2/2024 * show next game in menu DONE 9/2/2024 * BUG: attacks starts slow but gets faster DONE 9/2/2024 * BUG: can't join game if click with 1s before start DONE 9/2/2024 * boat not going around world dist vs distwrapped DONE 9/2/2024 * test & deploy game --- v2 Release * names don't appear when zoomed out * don't join game for reason * make names bigger * send boat even if touching * put number of troops ui * boats leave trails * more random names for game id & client id * Make fake humans * directed expansion * win condition & popup * BUG: tiles get left behind during conquer; still problem? * Load terrain dataImage in background * BUG: shore tiles left behind during conquer * BUG: when sending boat to TerraNullius, only takes one tile * REFACTOR: give terranullius an ID, game.player() returns terranullius * REFACTOR: ocean is considered TerraNullius ?