Commit Graph

254 Commits

Author SHA1 Message Date
evanpelle c42cc2a9b4 have Game delegate to GameMap for cleaner API 2025-02-01 12:05:11 -08:00
evanpelle a17ae48cd3 use TileRef instead of tile 2025-02-01 12:05:11 -08:00
evanpelle 2068e42982 use GameMap for storage in worker thread 2025-02-01 12:05:11 -08:00
evanpelle b22532d41f use TileRef instead of TerrainTile for astar 2025-02-01 12:05:11 -08:00
evanpelle f0d9477e56 use terrain tile for search 2025-02-01 12:05:11 -08:00
Evan 459fc50dae builds 2025-02-01 12:05:11 -08:00
evanpelle 162b6dc349 in progress 2025-02-01 12:05:11 -08:00
evanpelle 10a1f1af8e thread_split: enable spawn highlight 2025-02-01 12:05:11 -08:00
evanpelle 7673cf03ac multithreading: radial menu works 2025-02-01 12:05:11 -08:00
evanpelle 29ad62c2a4 leaderboard works with view 2025-02-01 12:05:11 -08:00
Evan 3e8517363f use GameView in renderers 2025-02-01 12:05:11 -08:00
Evan 8616e9bfcb game runs in seperate thread 2025-02-01 12:05:11 -08:00
Evan dab427d614 put methods onto terraintile 2025-02-01 12:05:11 -08:00
Evan 8443095d89 create game runner 2025-02-01 12:05:11 -08:00
Evan 8a101b7a6a update meta: population growth bit faster, reduce tile type differences, reduce attack bonus 2025-01-10 14:49:36 -08:00
evanpelle ea1e2c99a0 NPCs send emojis less frequently 2025-01-06 07:53:23 -08:00
Evan 5e0367ae55 bufix: NPC is targeted at the same time it allies with targeter, causing it to try to attack itself 2025-01-05 20:04:55 -08:00
Evan 4800e0dd29 NPCs only send emojis to players 2025-01-05 12:59:14 -08:00
Evan 2760b1110f fix calculate cluster conquering itself because removeCluster changed tile ownership 2025-01-04 13:51:12 -08:00
Evan f6b739e263 validate usernames on change, fix public lobby highlight bug, validate
strings with zod for safety
2025-01-02 09:02:23 -08:00
Mittani aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00
Mittani aa01ea7694 + add random bot names 2024-12-31 13:05:22 -08:00
evanpelle b7af94ec47 bugfix: didn't call isTraitor so NPCs treated everyone as traitor 2024-12-31 10:26:43 -08:00
Evan 309ee84246 NPCs send boats at enemies when not adjacent 2024-12-30 20:23:09 -08:00
Evan c4061e8848 NPCs only attack target when friendly, more bonus for larger attack vs defender troops 2024-12-30 13:55:30 -08:00
Evan e9d9fe1d98 make hard & impossible more difficult 2024-12-30 13:21:46 -08:00
Evan f4c98318b6 Show player relations in player info overlay 2024-12-30 09:40:16 -08:00
Evan a159c50160 bugfix: NPCs not reseting enemy correctly, don't flip off NPCs, NPCs send messages to enemy 2024-12-27 20:56:07 -08:00
Evan ac1d0c0378 Add relations, NPCs attack enemies using relation, NPCs attack targeted players 2024-12-27 16:53:56 -08:00
Evan bb968ec6b6 always recalc name, NPCs spawn warships less frequently 2024-12-27 10:59:41 -08:00
Evan c9c10ccfa8 shell does not attack friendly units 2024-12-27 10:02:00 -08:00
Evan f12fd23e2b battleship doesn't attack trade ship if destroyer nearby 2024-12-27 10:01:07 -08:00
Evan 1eb6066653 NPCs send nukes 2024-12-27 09:35:50 -08:00
Evan 5fdfc98893 NPCs spawn cities 2024-12-26 20:19:11 -08:00
Evan 4afe6f4cbf make territory more opaque, space bar makes territory invisible. 2024-12-26 19:41:52 -08:00
Evan fa3b3478b7 don't delete nukes when player dies. was creating a an error because nukeexecution tried deleting inactive unit. 2024-12-26 09:56:12 -08:00
evanpelle 57cbf5c55e Refactor: Split config into Config and ServerConfig 2024-12-25 14:04:19 -08:00
Evan 4e1b37d976 make NPCs less likely to build warships 2024-12-23 10:13:35 -08:00
Evan 2e2eea82e9 make NPCs less likely build boat 2024-12-21 13:24:29 -08:00
Evan 06c00307e5 make discord link more noticeable, have attack bonus be based on number of troops sent, not player troop count (better full sends) 2024-12-20 20:31:54 -08:00
Evan 422f4bdfac rebalance nukes, make fallout much harder to recapture 2024-12-20 20:31:41 -08:00
Evan 5307285d8b give Battleships & Destroyers health, make shells more frequent & larger 2024-12-20 20:31:41 -08:00
evanpelle ff02d9d8b6 have core/ directory use consolex for remote logging 2024-12-18 12:00:00 -08:00
Evan 722165c401 adding persistent id 2024-12-17 14:30:16 -08:00
Evan 05746ebecd add capture alert 2024-12-13 11:05:01 -08:00
Evan 2816ba1807 don't alert on delete trade ship or shell 2024-12-12 21:12:29 -08:00
Evan 939761fc76 bugfix: when checking last tile update in calculate clusters and name layer 2024-12-12 20:31:08 -08:00
evanpelle c13bb1eef9 don't display unit deleted message when tranpsort ship lands 2024-12-11 16:49:23 -08:00
Evan 1a9170d10b fix shellexecution deleting already inactive unit 2024-12-10 20:28:39 -08:00
evanpelle b97ef32adb only calculate cluster when tile changes 2024-12-10 20:28:39 -08:00