Evan
b91d9d4148
fix bugs from using tilerefs
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
c42cc2a9b4
have Game delegate to GameMap for cleaner API
2025-02-01 12:05:11 -08:00
evanpelle
a17ae48cd3
use TileRef instead of tile
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
ea1e2c99a0
NPCs send emojis less frequently
2025-01-06 07:53:23 -08:00
Evan
5e0367ae55
bufix: NPC is targeted at the same time it allies with targeter, causing it to try to attack itself
2025-01-05 20:04:55 -08:00
Evan
4800e0dd29
NPCs only send emojis to players
2025-01-05 12:59:14 -08:00
evanpelle
b7af94ec47
bugfix: didn't call isTraitor so NPCs treated everyone as traitor
2024-12-31 10:26:43 -08:00
Evan
309ee84246
NPCs send boats at enemies when not adjacent
2024-12-30 20:23:09 -08:00
Evan
c4061e8848
NPCs only attack target when friendly, more bonus for larger attack vs defender troops
2024-12-30 13:55:30 -08:00
Evan
e9d9fe1d98
make hard & impossible more difficult
2024-12-30 13:21:46 -08:00
Evan
f4c98318b6
Show player relations in player info overlay
2024-12-30 09:40:16 -08:00
Evan
a159c50160
bugfix: NPCs not reseting enemy correctly, don't flip off NPCs, NPCs send messages to enemy
2024-12-27 20:56:07 -08:00
Evan
ac1d0c0378
Add relations, NPCs attack enemies using relation, NPCs attack targeted players
2024-12-27 16:53:56 -08:00
Evan
bb968ec6b6
always recalc name, NPCs spawn warships less frequently
2024-12-27 10:59:41 -08:00
Evan
1eb6066653
NPCs send nukes
2024-12-27 09:35:50 -08:00
Evan
5fdfc98893
NPCs spawn cities
2024-12-26 20:19:11 -08:00
Evan
4afe6f4cbf
make territory more opaque, space bar makes territory invisible.
2024-12-26 19:41:52 -08:00
Evan
4e1b37d976
make NPCs less likely to build warships
2024-12-23 10:13:35 -08:00
Evan
2e2eea82e9
make NPCs less likely build boat
2024-12-21 13:24:29 -08:00
evanpelle
ff02d9d8b6
have core/ directory use consolex for remote logging
2024-12-18 12:00:00 -08:00
evanpelle
e1d22193c1
render emoji on top of name, better trade notification
2024-12-10 20:28:39 -08:00
Evan
e479c15ef9
perf: make fakehumanexecution spawn warship more efficient
2024-12-01 10:00:59 -08:00
Evan
30f72a3365
NPCs create battleships, destroyers. start work on miniastar
2024-11-30 12:41:22 -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
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
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
f664657e78
fix NPC send boat chances
2024-11-20 20:55:08 -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
evanpelle
c7951d77c0
adding destroyer
2024-11-15 20:43:15 -08:00
Evan
60751150bf
added gold, troops, workers slider
2024-11-03 20:11:04 -08:00
Evan
2afecf0f39
create troop slider
2024-11-03 12:37:56 -08:00
Evan
56d4b924fa
add difficulties
2024-10-23 21:08:24 -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
bb8827c8ad
use europe map
2024-10-09 10:51:56 -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
39d5e8d72f
fix sendBoat() causing lag/freezes towards end game, add arrow emojis
2024-10-05 11:35:40 -07:00
evanpelle
1aee83d733
fake humans don't send alliance request if already sent one recently
2024-10-01 16:21:36 -07:00
evanpelle
a837eb6375
give fake humans country names, fake humans less likely to betray
2024-09-29 20:45:21 -07:00
evanpelle
1b1af1f6cf
make fake humans harder
2024-09-29 13:09:45 -07:00
evanpelle
d874392467
refactored alliance
2024-09-22 13:38:43 -07:00
evanpelle
49aafe6379
give fake humans alliance behavior
2024-09-22 13:00:48 -07:00