Commit Graph

2883 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 e4130c1f04 add mushroom cloud svg 2024-11-16 16:52:00 -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
evanpelle 006539455d Merge pull request #8 from evanpelle/dev
Dev
2024-11-15 21:07:37 -08:00
Evan f45941307d resolve conflict 2024-11-15 20:44:09 -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
Evan 24121ad41b optmize pathfind: greedy bidi a* search 2024-11-15 20:43:15 -08:00
evanpelle 5d2526c63f can capture and destroy ports 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
Evan 5456988709 Create StructureLayer 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 49b35b0e45 update todo 2024-11-15 20:43:15 -08:00
evanpelle 36c9d67729 pathfinding perf improvement 2024-11-15 20:43:15 -08:00
evanpelle 0b3a92e498 transport ship use pathfinding library 2024-11-15 20:43:15 -08:00
evanpelle c399cb59fb perf improvement a star 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
Evan 3ac8dbddc5 create unit layer 2024-11-15 20:43:15 -08:00
Evan aea22f089c make more mobile friendly 2024-11-15 20:28:01 -08:00
Evan 3de73e665b bugfix: rendering player with twemojis in eventsdisplay 2024-11-09 12:02:55 -08:00
Evan 5c5423ef31 don't display event saying you are traitor if you break alliance with traitor 2024-11-08 20:46:37 -08:00
evanpelle 466574eb41 fix england flag 2024-11-07 20:28:20 -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
evanpelle 7ab91c9520 Merge pull request #7 from evanpelle/economic-system
Economic system
2024-11-07 19:00:20 -08:00
Evan 1654f73f43 require gold to buy items 2024-11-04 19:45:31 -08:00
Evan 7b1bab1e0f troop/worker slider shows current ratio 2024-11-04 19:17:12 -08:00
Evan d666a398ec control panel dissappears when player dies 2024-11-03 20:29:53 -08:00
evanpelle f184b285f5 Merge pull request #6 from evanpelle/economic-system
Economic system
2024-11-03 20:11:55 -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