Commit Graph

281 Commits

Author SHA1 Message Date
Evan df8fc4208e make hydrogen bomb slighly smaller 2025-02-10 18:01:34 -08:00
Evan 9349d9b8ae bugfix: deduct gold from player when start construction 2025-02-10 11:08:35 -08:00
Evan ca2b612778 give warship larger attack radius 2025-02-09 13:18:10 -08:00
Evan 8d690c0130 NPCs break alliances less frequently 2025-02-09 10:37:10 -08:00
Evan 4182eaa449 rebalance difficulties 2025-02-08 20:59:44 -08:00
Evan 4f4b6adb80 add 5 second player immunity to prevent spawn kills 2025-02-08 19:34:16 -08:00
Evan 2fa576c841 sanitize profane usernames 2025-02-08 19:00:35 -08:00
Evan 1594a45dac have buildings take time to construct 2025-02-08 13:53:58 -08:00
Evan 0487509c03 reimplement defense posts 2025-02-08 09:56:07 -08:00
Evan a7b3209ad7 Improve mirv: give it arc 2025-02-04 19:50:18 -08:00
Evan b643a6357b implement mirv 2025-02-04 11:53:41 -08:00
Evan bbf72bd14f simply start population calculation 2025-02-03 12:37:04 -08:00
Evan c109d23f9f combine battleship + destroyer => warship. 2025-02-02 14:31:30 -08:00
Evan af0d6a289a rename cansendlliance request fix ally self bug 2025-02-01 20:18:57 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
evanpelle 2af3c2a115 fix rebase errors 2025-02-01 12:05:11 -08:00
Evan 3aeff1df29 improve front page 2025-02-01 12:05:11 -08:00
Evan 87c45853ba remove mode is not player warning 2025-02-01 12:05:11 -08:00
Evan 7a2f4210ed update win condtion: 80% non fallout tiles 2025-02-01 12:05:11 -08:00
evanpelle 75fe718f16 Combine Unit & MutableUnit 2025-02-01 12:05:11 -08:00
evanpelle de1dbff570 combine Game & MutableGame 2025-02-01 12:05:11 -08:00
evanpelle 7d15c0c065 combine Player & MutablePlayer interfaces 2025-02-01 12:05:11 -08:00
evanpelle f7a0619347 reduce cluster check to every 20 ticks 2025-02-01 12:05:11 -08:00
Evan e4f0d76733 made name rendering more efficient 2025-02-01 12:05:11 -08:00
Evan 70a5b8883e make calculate clusters more efficient 2025-02-01 12:05:11 -08:00
Evan b91d9d4148 fix bugs from using tilerefs 2025-02-01 12:05:11 -08:00
Evan f0f5bae79f thread_split: convert all tile to tileref 2025-02-01 12:05:11 -08:00
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