Commit Graph

64 Commits

Author SHA1 Message Date
Evan 8b6895d745 add prettier import plugin 2025-03-31 13:09:27 -07:00
Ilan Schemoul c890ae1507 feat: message to explain debuff to traitors (#351) 2025-03-28 17:37:47 -07:00
evanpelle d8fe41de7a teams (#349) 2025-03-27 20:43:56 -07:00
Ilan Schemoul 87d1a8d69d feat: retreat stops attack + show when ennemy retreats (#209) 2025-03-10 17:25:21 -07:00
Ilan Schemoul 837d59d929 fix: translation broke numbers (#211) 2025-03-10 17:24:36 -07:00
evanpelle c99cec8f0b add South America map (#184) 2025-03-08 12:11:34 -08:00
Maeght Loan e1ed8dbe36 Boat attack event (#177)
Allow user to focus on outgoing boats

Partial #133 


https://github.com/user-attachments/assets/0e287bf5-71bb-4def-a3ca-f0b652ed6d69
2025-03-08 10:44:27 -08:00
koffielyder a62b37313f refactor 2025-03-07 15:57:10 +01:00
koffielyder e4cea653c6 Added focusID to event to focus on player on click 2025-03-07 15:34:24 +01:00
ilan schemoul 7670b77b6c feat: button to focus on attacker when under attack 2025-03-07 00:38:53 +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
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
NewHappyRabbit c057f70c45 UI fixes 2025-03-02 09:29:10 -08:00
NewHappyRabbit a21181c059 Added a button to focus the player that sent an alliance request. Increased bots name color brightness 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
NewHappyRabbit cfc4e5959a Added css to keep the container scrolled to the bottom, so you can see the latest events 2025-02-20 19:36:30 +02:00
NewHappyRabbit bd2a6cd390 Events can now be hidden and are scrollable. 2025-02-20 02:52:08 +02:00
Evan 87fe8dae6a anchor alliance requests, make them 15 second duration 2025-02-19 16:19:45 -08:00
Evan bba7f6f0e5 bugfix: allow click on events display 2025-02-12 20:36:26 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
Evan c7847e4e44 update atack meta: don't give such large bonus for large attacks 2025-02-11 20:38:26 -08:00
Evan 19d0b61869 have events display show outgoing & incoming attacks 2025-02-11 14:09:00 -08:00
Evan 78dddaf610 pass attacks from worker thread to main thread 2025-02-11 10:32:32 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan 0d75765b5c make events more compact 2025-02-01 12:05:11 -08:00
Evan f2d7c34c92 make control panel and events display mobile freindly 2025-02-01 12:05:11 -08:00
evanpelle 4bbb63fd48 move Game updates to GameUpdate.ts 2025-02-01 12:05:11 -08:00
Evan 970845e28f thread_split: send outgoing emoji messages 2025-02-01 12:05:11 -08:00
Evan 23b0b66ffb thread_split: add AllianceRequest to events display 2025-02-01 12:05:11 -08:00
Evan b91d9d4148 fix bugs from using tilerefs 2025-02-01 12:05:11 -08:00
Evan e76837c75a thread-split events display 2025-02-01 12:05:11 -08:00
Evan 459fc50dae builds 2025-02-01 12:05:11 -08:00
evanpelle 162b6dc349 in progress 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 c1f78e0e3b fix NPCs sending message showing raw html 2024-12-30 14:07:22 -08:00
evanpelle 99e5a62ba6 make leaderboard & events box smaller 2024-12-25 15:36:28 -08:00
Evan 06c00307e5 make discord link more noticeable, have attack bonus be based on number of troops sent, not player troop count (better full sends) 2024-12-20 20:31:54 -08:00
evanpelle 097a94e5ab make events last longer, up to 10 events 2024-12-10 20:28:39 -08:00
evanpelle f34a8dca13 alert when unit is destroyed 2024-12-10 20:28:39 -08:00
Evan 3f315cd433 display message when trade ship arrives 2024-11-22 15:03:00 -08:00
Evan aea22f089c make more mobile friendly 2024-11-15 20:28:01 -08:00
Evan 3de73e665b bugfix: rendering player with twemojis in eventsdisplay 2024-11-09 12:02:55 -08:00
Evan 5c5423ef31 don't display event saying you are traitor if you break alliance with traitor 2024-11-08 20:46:37 -08:00
Evan 915359feca updated EventsDisplay to be lit component 2024-11-01 20:12:26 -07:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00
evanpelle d85370dc19 Use vue, migrate emoji table to vue 2024-10-11 17:47:35 -07:00
evanpelle ec032bb758 improve emojis, log when send emoji to player 2024-10-05 21:03:59 -07:00
evanpelle e795b22220 send fire emoji to other players 2024-10-04 13:08:20 -07:00
evanpelle 4aae657690 Can target other players 2024-10-02 16:39:15 -07:00