evanpelle
718b572b59
Merge pull request #117 from ilan-schemoul/cance-attacks
...
feat: cancel attack
2025-03-04 05:20:01 -08:00
Evan
226112beb5
have MIRV target all non allied players, increase price to 25 million
2025-03-03 20:46:28 -08:00
Evan
c1383d76f1
allow boating on lakes
2025-03-03 19:19:16 -08:00
ilan schemoul
9a1f916f4d
feat: cancel attack
...
Canceling attack takes time and incurs a malus (loose some troops).
Also prettier fixed a file HostLobbyModal.
2025-03-03 22:06:35 +01:00
evanpelle
b43bfa1194
Merge pull request #118 from ilan-schemoul/fix-comment-nuke
...
refactor: remove comment outdated
2025-03-02 20:03:23 -08:00
evanpelle
db3f62d0b1
Merge pull request #88 from ilan-schemoul/click
...
Left click now open menu (double click or shift+click to attack)
2025-03-02 13:38:09 -08:00
ilan schemoul
e45c4b5ba4
refactor: remove comment outdated
2025-03-02 22:30:38 +01:00
ilan schemoul
fc7b08402f
feat: stats system to see number of nukes sent by a player in PlayerPanel
2025-03-02 21:41:00 +01:00
evanpelle
38b762b8bc
Merge pull request #95 from ilan-schemoul/embargoes
...
feat: everyone trade with everyone, anyone can embargo a player to stop trade
2025-03-02 10:58:05 -08:00
Evan
5e09c0db47
fix build errors from cherry-pick
2025-03-02 09:51:25 -08:00
Evan
d726fd66b5
store values as bigints to prevent floating point drift
2025-03-02 09:39:51 -08:00
NewHappyRabbit
9b85651ad8
Fixed dark mode class being added in different places (body and html elements).
...
Fixed flag "None" (xx.svg) being able to be set and used ingame.
All menu modals will now close if you click outside of them.
Fixed info icon in instructions.
Added an icon to show the number of new events that happened while the events panel is hidden.
Removed opacity from the svg icons files and added it to the player-icons div, making them have the same opacity and being more visible.
2025-03-02 09:39:36 -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
ff33c2db50
have server check hashes, crash game if out of sync
2025-03-02 09:29:10 -08:00
Evan
e0938253df
send game hash to server each second
2025-03-02 09:29:10 -08:00
ilan schemoul
d6b29a655c
feat: left click now opens menu (to avoid misclicks), shift+left click is attack
...
It happens very frequently that I misclick (meant to click on neighbor,
mean to click modal, sensitive touchpad and many others) and ruin my
game (and another player's). So by default left click opens the menu. As
the attack button is in the middle you can just double click to attack.
You can also shift+click to attack.
I have updated the Help modal to document all that + the existing (just
discovered in the code) ctrl+click to open build menu.
2025-03-02 17:56:14 +01:00
ilan schemoul
c2b90a52a3
feat: add icon when player request alliance
...
To spot who asked alliance on the map add an email icon next to them
2025-03-02 00:13:05 +01:00
ilan schemoul
40b9613f67
feat: 60% health for units when they spawn so 2 warships vs 1 always win
2025-02-28 19:23:50 +01:00
evanpelle
012b04606f
Merge pull request #61 from NewHappyRabbit/maps
...
Added Mars. Excluded from public lobby playlist. Changed Africa image…
2025-02-20 13:30:17 -08:00
Evan
f8c5d29b36
bugfix: show updated cost when building a unit while another unit of same type is under construction
2025-02-20 10:45:58 -08:00
NewHappyRabbit
1dfc0aef39
Added Mars. Excluded from public lobby playlist. Changed Africa image background to transparent.
2025-02-20 20:42:17 +02:00
SunnyBoyWTF
e523b3eda3
Update TerrainMapFileLoader.ts
2025-02-20 08:45:54 -05:00
SunnyBoyWTF
2f48c0cb6b
Update Game.ts
2025-02-20 08:44:31 -05:00
evanpelle
6e517b5b8b
Merge pull request #50 from NewHappyRabbit/darkmode
...
Added dark mode
2025-02-19 16:29:00 -08:00
NewHappyRabbit
e9eb006cea
Added dark mode
2025-02-20 00:48:45 +02:00
SunnyBoyWTF
6a55f58281
Update TerrainMapFileLoader.ts to include Africa
2025-02-18 13:53:32 -05:00
SunnyBoyWTF
3f8a544a16
Update Game.ts to include Africa map
2025-02-18 13:52:04 -05:00
Evan
49ff20ce9a
don't lose territory if surrounded at edge of map
2025-02-17 19:58:57 -08:00
NewHappyRabbit
f44fd79568
Player can now disable emojis
2025-02-16 12:18:50 -08:00
Evan
0b9ab34b63
bugfix: events display reported alliance accepted even when it was actually rejected
2025-02-13 09:18:44 -08:00
Evan
421c6e7841
use tileref instead of MapPos for UnitUpdate
2025-02-12 16:22:02 -08:00
Evan
646806d132
remove old units in GameView to prevent memory leak
2025-02-12 12:35:10 -08:00
Evan
40966ca3b9
format all files with prettier
2025-02-12 08:28:15 -08:00
NewHappyRabbit
949f68287e
Added flags
2025-02-11 23:34:19 +02:00
Evan
78dddaf610
pass attacks from worker thread to main thread
2025-02-11 10:32:32 -08:00
Evan
6f02bd250e
refactor: have players store attacks
2025-02-11 10:16:08 -08:00
Evan
74f523a770
can only send MIRV to player owned land
2025-02-09 12:14:53 -08:00
Evan
79bbd4def7
GameView: filter out inactive units.
2025-02-09 09:44:37 -08:00
Evan
4f4b6adb80
add 5 second player immunity to prevent spawn kills
2025-02-08 19:34:16 -08:00
Evan
1594a45dac
have buildings take time to construct
2025-02-08 13:53:58 -08:00
Evan
0487509c03
reimplement defense posts
2025-02-08 09:56:07 -08:00
Evan
6abcddc140
create player panel
2025-02-05 20:35:21 -08:00
Evan
b643a6357b
implement mirv
2025-02-04 11:53:41 -08:00
Evan
e750afcd65
has player.units filter by type
2025-02-03 12:54:06 -08:00
Evan
bbf72bd14f
simply start population calculation
2025-02-03 12:37:04 -08:00
Evan
c109d23f9f
combine battleship + destroyer => warship.
2025-02-02 14:31:30 -08:00
Evan
af0d6a289a
rename cansendlliance request fix ally self bug
2025-02-01 20:18:57 -08:00
Evan
4ee37323f9
format codebase with prettier
2025-02-01 12:05:11 -08:00
evanpelle
545fc3c28e
fix center button attack
2025-02-01 12:05:11 -08:00
Evan
ffb0b7c172
add player death & quotes when win or lose
2025-02-01 12:05:11 -08:00