Commit Graph

295 Commits

Author SHA1 Message Date
evanpelle 4edd66dc1f AStar returns cell instead of path 2024-12-03 14:35:09 -08:00
evanpelle 330b6b93cb finish defense post 2024-12-03 07:53:18 -08:00
evanpelle d173e22b6b defense post 2024-12-03 07:53:18 -08:00
Evan d133092317 create defense post 2024-12-01 19:54:04 -08:00
Evan e479c15ef9 perf: make fakehumanexecution spawn warship more efficient 2024-12-01 10:00:59 -08:00
Evan e7039d3e07 add defense post unit (no execution) 2024-11-30 20:54:42 -08:00
Evan 1c963c0922 extend alliances to 10 mins 2024-11-30 19:16:00 -08:00
Evan a7e82960d3 update version 2024-11-30 13:49:45 -08:00
Evan 30f72a3365 NPCs create battleships, destroyers. start work on miniastar 2024-11-30 12:41:22 -08:00
Evan 5d4befb117 Created mini map for a star search 2024-11-29 20:35:08 -08:00
Evan 7a961c68b4 bufix: ports execution still active after port dies 2024-11-29 17:10:28 -08:00
Evan 4899196613 refactor: move worker into worker file 2024-11-29 15:57:39 -08:00
Evan 020d193667 create async path finder, trade ships use async when captured 2024-11-29 15:41:13 -08:00
Evan 6cd75d3a9f add how to play link 2024-11-29 13:11:15 -08:00
Evan 3e4f4e42cf created path finding web worker 2024-11-29 11:34:03 -08:00
Evan 2216c34c41 create terrainsearchmap 2024-11-28 12:25:10 -08:00
Evan 61515172c7 make shells free 2024-11-27 14:05:47 -08:00
Evan 982caa3b23 use drawRect instead of putimagedata for units (25% cpu usage reduction) 2024-11-26 13:16:23 -08:00
Evan 8abc5e4aed implement battleship 2024-11-26 10:15:54 -08:00
Evan 98367ac966 spawn fewer tradeships, change destroyer, tradeship graphic 2024-11-25 20:16:08 -08:00
evanpelle 3137611ab3 make nukes destroy more troops 2024-11-25 19:13:15 -08:00
Evan 9af75331e2 update alliance() 2024-11-25 14:10:17 -08:00
Evan a1b1c5959c bugfix: nuking yourself makes you a traitor 2024-11-25 14:08:24 -08:00
Evan 6fd35b00cd make unit cost scale up w/ # units 2024-11-25 11:42:40 -08:00
Evan 5997262416 nuking breaks alliance 2024-11-25 09:28:28 -08:00
Evan 146a7ef657 bugfix: destroys not capturing tradeships 2024-11-25 09:19:22 -08:00
Evan 0b062179ac ports increase in price, NPC attack more frequently, tradeship destroyed if dst port destroyed or captured 2024-11-24 21:03:09 -08:00
Evan 5431aff30c NPCs less agressive, trade ship less gold, NPCs recapture after nuke 2024-11-23 21:53:26 -08:00
Evan 3b0e245e78 tradeships give less gold 2024-11-23 20:17:03 -08:00
Evan 6b934a5929 increase gold addition rate, make ports slightly cheaper 2024-11-23 20:02:48 -08:00
Evan 5334cd4e9f nukes don't destroy other nukes 2024-11-23 20:00:21 -08:00
Evan 110daccdc4 rebalance nuclear blast 2024-11-23 19:58:24 -08:00
Evan 3a2f8c9538 have playerexecution check & delete units on death. fixes bug where units weren't being captured when player dies 2024-11-23 10:13:03 -08:00
Evan 1e2b23d2de fixed bug causing crash when capturing trade ship already captured by another destroyer 2024-11-22 20:49:45 -08:00
Evan a2a6654bf5 fixed bug where each intent was duplicated
destroyers find and capture trade ships
ports generate more trade ships
2024-11-22 20:28:58 -08:00
Evan cf39fe38cc remove gold interest 2024-11-22 15:03:50 -08:00
Evan 3f315cd433 display message when trade ship arrives 2024-11-22 15:03:00 -08:00
Evan 3f27f6e72c more efficient port calculation, npcs send fewer boats, fewer trade ships 2024-11-22 14:42:48 -08:00
Evan 45ff069d2c fix nukeexecution building atom bomb when hydrogen bomb selected 2024-11-22 12:19:53 -08:00
evanpelle bc3cf09960 npcs build ports 2024-11-21 19:53:02 -08:00
Evan 8be9cda4f9 make NPCs easier 2024-11-20 21:09:55 -08:00
Evan f664657e78 fix NPC send boat chances 2024-11-20 20:55:08 -08:00
Evan b915737a0e fix transport ship execution null bug 2024-11-20 20:50:16 -08:00
Evan cb44144fc6 actually fix dst is null on transportshipexecution bug 2024-11-20 20:50:00 -08:00
Evan 819b8ef23a fix port ally finding bug, fix transport ship crashing game when target tile not found 2024-11-20 20:22:51 -08:00
Evan 8b391c7ae0 rebalance nukes 2024-11-20 20:07:56 -08:00
Evan 18ac34ae45 Created hydrogen bomb 2024-11-20 19:55:42 -08:00
Evan 8531b47144 make destroyers faster 2024-11-20 19:33:01 -08:00
Evan 66d201ad8c fix pathfinding bug, returned same cell as src 2024-11-20 19:32:29 -08:00
evanpelle 108fad8096 create territoryBound, have player execution check units for capture
fix bug where PortExecution tries to get random element from empty list and crashes
2024-11-17 19:56:54 -08:00