Evan
5fec649b9c
perf: PortExecution only check to spawn trade ships every 10 ticks.
2025-04-05 11:15:15 -07:00
Evan
8b6895d745
add prettier import plugin
2025-03-31 13:09:27 -07:00
Evan
9ed1fe865c
bugfix: ports not spawning on coastline
2025-03-27 19:08:46 -07:00
Ilan Schemoul
60be8b236a
fix compilation ( #359 )
...
## Please complete the following:
just a compilation bug fix. npm run dev is how i test
## Please put your Discord username so you can be contacted if a bug or
regression is found:
respectful pinguin
2025-03-27 17:34:30 -07:00
Ilan Schemoul
f2193edc7c
priortize ally ports and close ports ( #335 )
...
2x more likely to trade with ports belonging to an ally OR close.
3x more likely to trade with ports belonging to an ally AND close.
Add trading tests
2025-03-27 16:09:58 -07:00
Readixyee
665a8c3823
Executions dont switch owner ( #326 )
...
when an building is taken over by another player the execution for it
doesnt change its owner this makes it so when a sam is captured it tries
to intercept your own nukes and doesnt intercept the ones by the
previous player
this change makes executions of buildings automaticly switch their owner
2025-03-27 16:03:15 -07:00
Ilan Schemoul
da50aa28d2
feat: more trade when there are few ports worldwide ( #242 )
2025-03-14 09:45:40 -07:00
Evan
399cf4aab0
optimize trade ships
2025-03-03 14:37:24 -08:00
evanpelle
0a077ebf4d
Merge pull request #100 from d3n0x8/scrollAttackRatio
...
add shift + scroll command in HelpModal hotkeys table
2025-03-02 18:34:04 +01:00
Evan
5e6f8f5d91
validate all intent input
2025-02-18 16:26:49 -08:00
Evan
40966ca3b9
format all files with prettier
2025-02-12 08:28:15 -08:00
Evan
c109d23f9f
combine battleship + destroyer => warship.
2025-02-02 14:31:30 -08:00
Evan
4ee37323f9
format codebase with prettier
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
Evan
f0f5bae79f
thread_split: convert all tile to tileref
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
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
evanpelle
ff02d9d8b6
have core/ directory use consolex for remote logging
2024-12-18 12:00:00 -08:00
Evan
a0a40262a6
render trade ship when stopped, hash units
2024-12-03 19:47:27 -08:00
evanpelle
5a4a62bb86
in progress
2024-12-03 16:44:28 -08:00
evanpelle
4edd66dc1f
AStar returns cell instead of path
2024-12-03 14:35:09 -08:00
Evan
e7039d3e07
add defense post unit (no execution)
2024-11-30 20:54:42 -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
3e4f4e42cf
created path finding web worker
2024-11-29 11:34:03 -08:00
Evan
98367ac966
spawn fewer tradeships, change destroyer, tradeship graphic
2024-11-25 20:16:08 -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
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
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
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
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
Evan
8f8de97d9b
remove BuildValidator
2024-11-17 10:33:13 -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
evanpelle
d3d0651659
can capture and destroy ports
2024-11-15 20:43:15 -08:00
evanpelle
1c8489f099
port spawns on coast
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