* 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 DONE 9/2/2024 --- v2 Release * put number of troops ui DONE 9/3/2024 * names don't appear when zoomed out DONE 9/3/2024 * make names bigger DONE 9/3/2024 * boats leave trails DONE 9/3/2024 * send boat even if touching DONE 9/4/2024 * when attacking by boat, attack execution only starts from boat pixel DONE 9/4/2024 * Make three terrain types: Plains, highlands, mountains DONE 9/5/2024 * more random names for game id & client id DONE 9/5/2024 * BUG: attacks speed up DONE 9/6/2024 * rebalance income DONE 9/7/2024 * Make fake humans DONE 9/8/2024 * Make more colors DONE 9/8/2024 * Have fake humans join lobby DONE 9/9/2024 * Update landing page image DONE 9/9/2024 * BUG: fix tile per turn pacing issues DONE 9/9/2024 * Improve expansion directions (more uniform) 9/9/2024 * store username DONE 9/11/2024 * give anon unique number after Anon name DONE 9/11/2024 * make color a hash of name DONE 9/11/2024 * Make boats more intuitive (larger area to click off coast) DONE 9/11/2024 * FakeHumans retaliate when attacked DONE 9/11/2024 * Add discord link DONE 9/14/2024 * front page mobile friendly DONE 9/15/2024 * game mobile friendly DONE 9/16/2024 * UI: basic win condition & popup DONE 9/16/2024 * right click popup alliance option DONE 9/17/2024 * BUG: can't ally same person twice DONE 9/18/2024 * attack alliance create traitor flag DONE 9/18/2024 * break alliance makes you a traitor DONE 9/18/2024 * add traitor icon DONE 9/18/2024 * make alliance icon DONE 9/19/2024 * bots attack traitors DONE 9/19/2024 * BUG: alliance should stop attack DONE 9/19/2024 * BUG: bot attacks don't stop when allied DONE 9/19/2024 * click alliance sends alliance request DONE 9/20/2024 * notification for alliance request DONE 9/20/2024 * comfirm alliance DONE 9/20/2024 * create event box DONE 9/20/2024 * BUG: left click lost after right click DONE 9/20/2024 * eventbox events dissapear after timeout DONE 9/20/2024 * auto reject alliance when event dissapears DONE 9/20/2024 * first place has crown DONE 9/21/2024 * can't attack ally DONE 9/21/2024 * add updates to eventbox: boats (max count, too far) DONE 9/21/2024 * BUG: boats landing doesn't launch attack DONE 9/21/2024 * fake humans handle alliances DONE 9/22/2024 * make alliances expire DONE 9/22/2024 * make radial menu buttons grayed out DONE 9/27/2024 * add request alliance radial button DONE 9/27/2024 * add break alliance radial button DONE 9/27/2024 * add send boat radial button DONE 9/28/2024 * attack radial center button only on enemy DONE 9/28/2024 * radial center button "spawn" during spawn phase DONE 9/28/2024 * better color scheme radial menu DONE 9/28/2024 * Make buttons icons DONE 9/28/2024 * BUG: change username after selecting map DONE 9/29/2024 * BUG: fake humans break alliance too often DONE 9/29/2024 * make fake humans more difficult DONE 9/29/2024 * BUG: make event box work on mobile DONE 9/30/2024 * BUG: alliance expire message after player dies DONE 9/30/2024 * BUG: alliance cooldown request DONE 9/30/2024 * make create/break alliance single button DONE 10/1/2024 * add request attack other players DONE 10/2/2024 * Improve alliance icon DONE 10/2/2024 * BUG: center button should be disabled select island DONE 10/2/2024 * BUG: boat icon appears when click inland DONE 10/2/2024 * Auto deploy to dev on commit DONE 10/2/2024 * add emoji button DONE 10/4/2024 * make disabled icon crossed out icon DONE 10/6/2024 * disable select on mobile DONE 10/6/2024 * disable double tap on mobile DONE 10/6/2024 * donate troops button DONE 10/7/2024 * Make fake humans spawn by their country DONE 10/9/2024 * UI: leader board DONE 10/12/2024 * single player mode DONE 10/12/2024 * single player select map DONE 10/12/2024 * implement private game DONE 10/15/2024 * private game can select map DONE 10/16/2024 * Test on android DONE 10/17/2024 * add troop max DONE 10/31/2024 * rewrite EventsDisplay DONE 11/1/2024 * update Mena NPC locations DONE 11/1/2024 * create build menu DONE 11/3/2024 * add gold * add troop/worker slider * add battleship * NPC has relations * fix name rendering * use twitter emojis * private game shows how many players joined * optimize sendBoat function * NPC more likely to accept alliance fewer alliance player has * surface NPC relations * use SVGs for icons * block user inputs if too far behind server * BUG: FakeHuman don't be enemy if don't share border (or send boat) * store cookies * BUG: half encircle Antartica causes capture * improve front page (make map larger?) * REFACTOR: give terranullius an ID, game.player() returns terranullius * REFACTOR: ocean is considered TerraNullius ?