Commit Graph

453 Commits

Author SHA1 Message Date
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 371a33b406 fixed units() returning empty when no units specified, moved canBuild logic to PlayerImpl 2024-11-17 12:38:54 -08:00
Evan 8f8de97d9b remove BuildValidator 2024-11-17 10:33:13 -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 05a3bed093 nukes spawn from missile silos 2024-11-16 13:48:33 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
Evan ddc7ddb8b8 only trade with allies 2024-11-15 20:43:15 -08:00
Evan b1e1d7263c Created TradeShips 2024-11-15 20:43:15 -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 530f2dc2df destroyers now patrol 2024-11-15 20:43:15 -08:00
evanpelle 71be40a2cd destroyer spawns from port 2024-11-15 20:43:15 -08:00
evanpelle 1c8489f099 port spawns on coast 2024-11-15 20:43:15 -08:00
evanpelle febabf00db must build port before destroyer 2024-11-15 20:43:15 -08:00
evanpelle 09ead3791d add port 2024-11-15 20:43:15 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00
evanpelle 0b3a92e498 transport ship use pathfinding library 2024-11-15 20:43:15 -08:00
Evan 4e71a64ea7 implement destroyers 2024-11-15 20:43:15 -08:00
evanpelle f0db9324d7 working on destroyer 2024-11-15 20:43:15 -08:00
Evan f742f8acbf working on pathfinding 2024-11-15 20:43:15 -08:00
Evan 975750b294 destroyer moves upwards 2024-11-15 20:43:15 -08:00
evanpelle c7951d77c0 adding destroyer 2024-11-15 20:43:15 -08:00
Evan 6a1a09c335 Create Unit class 2024-11-15 20:43:15 -08:00
evanpelle 8b8c42ea16 bugfix: boat attack now donates troops instead of attacking when alliance is created during boat attack 2024-11-07 19:40:38 -08:00
Evan 1654f73f43 require gold to buy items 2024-11-04 19:45:31 -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 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 e77bb5e118 bugfix: boat attack troops count twice 2024-11-02 19:55:22 -07:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00
Evan 56d4b924fa add difficulties 2024-10-23 21:08:24 -07:00
evanpelle 2bbf0330b4 update nuke radius a bit 2024-10-19 20:11:40 -07:00
evanpelle 1a34462f66 nukes destroy boats 2024-10-19 19:48:56 -07:00
evanpelle 0a266f5ef8 nukes destroy troops 2024-10-19 11:54:35 -07:00
evanpelle a81dbda071 add nuke button 2024-10-19 10:04:40 -07:00
evanpelle 33a85d521a create nuke execution & schema 2024-10-19 08:46:41 -07:00
evanpelle 29f1b398ee rebalance game, make bots weaker, improve leaderboard 2024-10-17 21:01:10 -07:00
evanpelle b4e0947455 make leaderboard translucent, increase font size 2024-10-17 16:26:25 -07:00
evanpelle 180769bf35 create leaderboard, max 18 char name 2024-10-11 20:48:55 -07:00
evanpelle bb8827c8ad use europe map 2024-10-09 10:51:56 -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 39d5e8d72f fix sendBoat() causing lag/freezes towards end game, add arrow emojis 2024-10-05 11:35:40 -07:00
evanpelle df28ee169f send emojis working! 2024-10-04 20:17:27 -07:00
evanpelle e795b22220 send fire emoji to other players 2024-10-04 13:08:20 -07:00
evanpelle 2223e40d53 Target player creates target icon 2024-10-02 16:25:13 -07:00