Evan
c7356a7348
have Team be an enum instead of an object, this was causing equality problems.
2025-04-05 21:39:12 -07:00
Evan
9d1b4f35e4
bugfix: SpawnExecution was not attaching PlayerExecution to humans
...
bugfix: WinModal was saying player died even if they hadn't spawned
added hasSpawned() method to player
2025-04-03 20:12:36 -07:00
Evan
8b6895d745
add prettier import plugin
2025-03-31 13:09:27 -07:00
0891637eb2
MissileSilo cooldown ( #309 )
...
changed the sam cooldown to be a general cooldown function and added a
missilesilo cooldown
The function either adds the current tick as the starting point of the
cooldown or sets the cooldown to null and updates the unit. That way
getcooldown function can be used to get back the tick the cooldown was
started and can be compared to the cooldown set in the config.
changed the sam test / added a missilesilo test
---------
Co-authored-by: evanpelle <evanpelle@gmail.com >
2025-03-29 15:19:07 -07:00
evanpelle and GitHub
d8fe41de7a
teams ( #349 )
2025-03-27 20:43:56 -07:00
Ilan Schemoul and GitHub
24f25d677a
sam is red when reloading ( #268 )
2025-03-18 14:16:02 -07:00
Ilan Schemoul and GitHub
3ce5785d1e
nuke icon ( #207 )
...
- **feat: white nuke icon next to name if player nukes you**

- **feat: red nuke icon if player sends nuke towards you**
-

2025-03-11 15:44:45 -07: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
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
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
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
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
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
e0938253df
send game hash to server each second
2025-03-02 09:29:10 -08: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
Evan
421c6e7841
use tileref instead of MapPos for UnitUpdate
2025-02-12 16:22:02 -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
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
4ee37323f9
format codebase with prettier
2025-02-01 12:05:11 -08:00
evanpelle
d009ef925c
use error update to show error modal
2025-02-01 12:05:11 -08:00
evanpelle
4bbb63fd48
move Game updates to GameUpdate.ts
2025-02-01 12:05:11 -08:00