Commit Graph

623 Commits

Author SHA1 Message Date
Evan 74716cdfdf don't render territory on drag to make it smoother 2025-02-01 12:05:11 -08:00
Evan 1bbb5c9ac3 packing tiles for more efficient transfer 2025-02-01 12:05:11 -08:00
Evan 2441abd7c8 game kind of working with GameView 2025-02-01 12:05:11 -08:00
Evan 3e8517363f use GameView in renderers 2025-02-01 12:05:11 -08:00
Evan 8616e9bfcb game runs in seperate thread 2025-02-01 12:05:11 -08:00
Evan f988d555bb update views 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
Evan 8a4644637a update deploy script to ensure target linux 2025-02-01 11:54:16 -08:00
Evan 6b701c1ddf update version-> 0.14.0 2025-02-01 10:45:35 -08:00
Evan 89d9a8433b spell colombia correctly 2025-01-24 14:48:31 -08:00
Evan e4d7686b80 allow spaces, increase max username length to 20 2025-01-24 14:47:34 -08:00
evanpelle d6b2a46be5 make plains have more defence, mountains less 2025-01-21 14:22:35 -08:00
Evan 8a101b7a6a update meta: population growth bit faster, reduce tile type differences, reduce attack bonus 2025-01-10 14:49:36 -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 81d849dec1 make public games start every minute 2025-01-05 13:40:18 -08:00
Evan 4800e0dd29 NPCs only send emojis to players 2025-01-05 12:59:14 -08:00
Evan eed90dece5 update europ and world maps 2025-01-05 12:56:04 -08:00
Evan f7fda4fb48 remove single pixel lakes 2025-01-05 12:38:06 -08:00
Evan ce60be9629 don't alert on crash, use modal instead 2025-01-04 13:53:47 -08:00
Evan 2760b1110f fix calculate cluster conquering itself because removeCluster changed tile ownership 2025-01-04 13:51:12 -08:00
Evan 548532ca1e make medium easier 2025-01-02 11:18:57 -08:00
Evan 903a630953 added Black Sea 2025-01-02 11:16:43 -08:00
Evan f6b739e263 validate usernames on change, fix public lobby highlight bug, validate
strings with zod for safety
2025-01-02 09:02:23 -08:00
evanpelle 239f5f11dc fix merge errors 2024-12-31 13:10:58 -08:00
Evan 0b8950f4bc fix ip processing bug: ip was sometimes an array 2024-12-31 13:09:20 -08:00
Evan 843a1186ce log ip address for debugging (TODO remove logging before next release) 2024-12-31 13:08:55 -08:00
evanpelle 3fe8d28abe implement pause feature,
bugfix: server stops in the beginning if no ticks found
2024-12-31 13:08:29 -08:00
Mittani 0cce2b3b57 * resolve conflict 2024-12-31 13:07:41 -08:00
Mittani 697b4c6111 * updata validation on public games 2024-12-31 13:07:17 -08:00
Mittani af6c519d77 * updata validation on public games 2024-12-31 13:06:43 -08:00
Mittani d99219afba * formating 2024-12-31 13:06:43 -08:00
Mittani aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00
Mittani aa01ea7694 + add random bot names 2024-12-31 13:05:22 -08:00
evanpelle eb261fe103 make front page mobile friendly 2024-12-31 12:44:31 -08:00
evanpelle 2e913ed5e3 rebalance game, don't use startTroops when determine attack TN land speed 2024-12-31 12:14:10 -08:00
evanpelle 6e8a3b6f40 fix npe in radial menu when clicked right after spawn phase, rebalance weaken attacks to make up for expanded attack bonus range from previous commit 2024-12-31 10:45:58 -08:00
evanpelle b7af94ec47 bugfix: didn't call isTraitor so NPCs treated everyone as traitor 2024-12-31 10:26:43 -08:00
Evan 0553a56c06 Increase price of atom bomb to 750k 2024-12-30 20:27:44 -08:00
Evan 309ee84246 NPCs send boats at enemies when not adjacent 2024-12-30 20:23:09 -08:00
Evan c1f78e0e3b fix NPCs sending message showing raw html 2024-12-30 14:07:22 -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 ba67ac9507 create error modal when game crashes 2024-12-30 13:42:39 -08:00
Evan 0693b5db65 fix ip processing bug: ip was sometimes an array 2024-12-30 13:24:09 -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 cb75f6780c log ip address for debugging (TODO remove logging before next release) 2024-12-27 12:36:06 -08:00