Commit Graph

153 Commits

Author SHA1 Message Date
Evan 7a961c68b4 bufix: ports execution still active after port dies 2024-11-29 17:10:28 -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 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
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 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 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 3f27f6e72c more efficient port calculation, npcs send fewer boats, fewer trade ships 2024-11-22 14:42:48 -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 18ac34ae45 Created hydrogen bomb 2024-11-20 19:55:42 -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
Evan 0d5f514c48 nukes cause more troop damage 2024-11-17 09:36:12 -08:00
Evan b5a8339eb3 move unit info to config 2024-11-16 21:09:25 -08:00
Evan b559204076 spread out boat pathing over multiple ticks, fix neighborsWrapped bug 2024-11-15 20:43:15 -08:00
evanpelle d3d0651659 can capture and destroy ports 2024-11-15 20:43:15 -08:00
Evan 7b1bab1e0f troop/worker slider shows current ratio 2024-11-04 19:17:12 -08:00
Evan 60751150bf added gold, troops, workers slider 2024-11-03 20:11:04 -08:00
Evan 713393f4d4 use max troops instead of manpower for addition rate 2024-11-03 12:39:04 -08:00
Evan 32a8251edd rebalance manpower 2024-11-03 12:38:53 -08:00
Evan e20cd96df4 make manpower addition rate function of total manpower 2024-11-03 12:38:53 -08:00
Evan 7068758ae3 growth determined by manpower reserves 2024-11-03 12:38:40 -08:00
Evan 2afecf0f39 create troop slider 2024-11-03 12:37:56 -08:00
Evan 915359feca updated EventsDisplay to be lit component 2024-11-01 20:12:26 -07:00
Evan 092dde5a21 remove global max troop cap 2024-10-31 06:48:04 -07:00
Evan 56d4b924fa add difficulties 2024-10-23 21:08:24 -07:00
evanpelle 43b931c4e7 make alliances last longer, public game lobby duration 60s 2024-10-18 17:46:39 -07:00
evanpelle 29f1b398ee rebalance game, make bots weaker, improve leaderboard 2024-10-17 21:01:10 -07:00
evanpelle da3e726b4d make front page mobile friendly, disable leaderboard on mobile 2024-10-17 07:51:12 -07:00
evanpelle be7a01954a fix lobby join bugs 2024-10-15 20:00:56 -07:00
evanpelle cecbe8c313 create single player modal 2024-10-12 12:32:40 -07:00
evanpelle d85370dc19 Use vue, migrate emoji table to vue 2024-10-11 17:47:35 -07:00
evanpelle 64d956bda4 new front page UI 2024-10-10 17:27:00 -07:00
evanpelle e1f7d395f2 delete num fake humans config, this is set by map json file 2024-10-08 20:45:18 -07:00
evanpelle 7235b73b6c * deleted old maps
* fixed bug where NPC and Bots had same id
* NPCs spawn near IRL location
* NPCs have different strength (starting troops)
* game has more NPCs than before
* Needs more balancing
2024-10-08 20:42:35 -07:00
evanpelle db7a259587 can donate to allies 2024-10-07 20:17:15 -07:00
evanpelle 841271dbd6 slight nerf fake humans 2024-10-05 12:30:06 -07:00
evanpelle 39d5e8d72f fix sendBoat() causing lag/freezes towards end game, add arrow emojis 2024-10-05 11:35:40 -07:00