Ilan Schemoul and GitHub
c4b8d6b92e
cancel trade if port is captured (no trade inside same country) ( #194 )
...
If the port of destination and of source have same owner it means a
player captures port of another player, we cease all trade that happens
inside same country.
Also added a check in the canTrade code to be more reliable and correct
even outside of the specific case of capturing a port.
2025-03-11 12:33:45 -07:00
84951fed9f
Sam anti nuke missile launcher ( #176 )
...
now with better name
---------
Co-authored-by: evanpelle <evanpelle@gmail.com >
2025-03-09 13:25:51 -07:00
Tiger McSwane and GitHub
219d732f84
Added Britannia map with 23 NPC as well as their flags ( #186 )
...
Let me know if you have any questions or concerns. This is my first time
near coding, so it would not hurt to double check my work. Thanks!
2025-03-08 16:58:04 -08:00
evanpelle and GitHub
4281095666
update maps: remove small lakes as it breaks encirclement. More money… ( #188 )
...
… more frequent trade ships, lakes prevent encirclement, warships start
at full health
2025-03-08 16:45:23 -08:00
evanpelle and GitHub
c99cec8f0b
add South America map ( #184 )
2025-03-08 12:11:34 -08:00
evanpelle and GitHub
09132495c0
Revert "have MIRV target all non allied players, increase price to 25… ( #181 )
...
… million"
This reverts commit 226112beb5 .
2025-03-08 10:58:46 -08:00
Ilan Schemoul and GitHub
afe4f85919
fix: warship icon ( #178 )
2025-03-08 10:27:16 -08:00
ilan schemoul
1b76c46bc5
feat: remove LocalPersistantStats so we locally save GameRecords
...
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
Evan
3dd02ec4df
remove max boat distance
2025-03-07 10:38:26 -08:00
BeGj
619891741f
linting
2025-03-07 16:53:10 +00:00
evanpelle and GitHub
d0359a2db4
Merge pull request #149 from UnBuiltTree/icon-remake
...
Icon Remake
2025-03-06 18:49:19 -08:00
evanpelle and GitHub
974d606923
Merge pull request #159 from ilan-schemoul/save-stats
...
feat: save stats to local storage
2025-03-06 15:57:00 -08:00
evanpelle and GitHub
447e6238d8
Merge pull request #148 from ilan-schemoul/main
...
default 95% soldiers
2025-03-06 09:03:44 -08:00
UnBuiltTree
89326baa37
Updated StructureLayer and GameMap for Remake of Icons, added extra building png icons resources.
2025-03-05 21:29:19 -06:00
ilan schemoul
bd8f72421e
default 95% soldiers
2025-03-06 01:22:00 +01:00
ilan schemoul
398d354702
feat: save stats to local storage
...
Victory lose, player stats, lobby config are stored to local storage
(for later use)
2025-03-06 01:00:19 +01:00
evanpelle and GitHub
7d79c299f4
Merge pull request #143 from ilan-schemoul/warship-target
...
feat: WarShips red color outside if target current player
2025-03-04 15:53:47 -08:00
ilan schemoul
d2208755c4
feat: WarShips red color outside if target current player
...
Hard to know when warship captures your trade so if they target one of
your trade or war ship they are highlighted in red.
Known limitation: doesn't work well if the WarShip is already in red
(player's color)
2025-03-05 00:45:35 +01:00
evanpelle and GitHub
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 and GitHub
b43bfa1194
Merge pull request #118 from ilan-schemoul/fix-comment-nuke
...
refactor: remove comment outdated
2025-03-02 20:03:23 -08:00
evanpelle and GitHub
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 and GitHub
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 and Evan
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 and ilan schemoul
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 and GitHub
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 and GitHub
e523b3eda3
Update TerrainMapFileLoader.ts
2025-02-20 08:45:54 -05:00
SunnyBoyWTF and GitHub
2f48c0cb6b
Update Game.ts
2025-02-20 08:44:31 -05:00
evanpelle and GitHub
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 and GitHub
6a55f58281
Update TerrainMapFileLoader.ts to include Africa
2025-02-18 13:53:32 -05:00
SunnyBoyWTF and GitHub
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 and Evan
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