Commit Graph

930 Commits

Author SHA1 Message Date
NewHappyRabbit a2fa30cee2 Applied comments 2025-02-20 01:46:00 +02:00
NewHappyRabbit e9eb006cea Added dark mode 2025-02-20 00:48:45 +02:00
Evan 5f26cf72c8 Make world & europe maps more likely for public multiplayer 2025-02-18 20:36:00 -08:00
Evan c4aaa619af have nukes cause more damage 2025-02-18 19:59:06 -08:00
Evan 33cb3a7d0a make pop increase rate yellow or green if increasing/decreasing 2025-02-18 19:43:37 -08:00
Evan e3896127d5 bugfix: full sending with boat makes you lose troops 2025-02-18 18:55:26 -08:00
evanpelle 59850a1750 Merge pull request #43 from NewHappyRabbit/lobby-ui
Added map image preview for public lobby. Converted maps background to transparent
2025-02-18 18:12:48 -08:00
Evan aa87a88544 add prettierignore and prettierrc 2025-02-18 17:23:37 -08:00
Evan f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 5e6f8f5d91 validate all intent input 2025-02-18 16:26:49 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
evanpelle 4f3ad5c1ac Merge pull request #39 from NewHappyRabbit/map-randomizer
Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates.
2025-02-18 11:30:10 -08:00
Evan 01a98c03e8 add back bugfix from 2760b11 2025-02-18 09:12:32 -08:00
NewHappyRabbit 9565a0cffa Added map image preview for public lobby 2025-02-18 14:52:09 +02:00
NewHappyRabbit 53e48ed69a Changed math.random() to nextint 2025-02-18 09:38:50 +02:00
Evan 49ff20ce9a don't lose territory if surrounded at edge of map 2025-02-17 19:58:57 -08:00
Evan 5d0e0561ca give attack bonus starting at 35k 2025-02-17 19:43:12 -08:00
Evan e37cba91dc don't crash when failing to load discord secrets 2025-02-17 19:36:31 -08:00
Evan 6a66d0c52d load archived game if not found 2025-02-17 19:30:30 -08:00
evanpelle 836e7db5dc Merge pull request #42 from NewHappyRabbit/unsanitize-flags
Unsanitized flags
2025-02-17 16:28:59 -08:00
evanpelle 185d287105 Merge pull request #41 from NewHappyRabbit/exit-lobby-fix
Fixed a bug where if you joined a private lobby through a link and hit the exit button in the options menu it will rejoin the lobby instead of heading to homepage
2025-02-17 16:28:35 -08:00
evanpelle 3562b605cb Merge branch 'main' into exit-lobby-fix 2025-02-17 16:28:12 -08:00
evanpelle 261024abb4 Merge pull request #40 from NewHappyRabbit/mobile-leaderboard
Leaderboard can now be hidden and shown on both desktop and mobile
2025-02-17 16:27:04 -08:00
evanpelle 8ba3be480a Merge pull request #38 from sajadhsm/confirm-exit
Add confirmation dialog before exiting the game while player is alive
2025-02-17 16:22:31 -08:00
NewHappyRabbit be3fd87727 Unsanitized flags. Flags that included a dash were being sanitized and not rendering ingame 2025-02-18 01:44:46 +02:00
NewHappyRabbit 6f6078187b Fixed a bug where if you joined a private lobby through a link and then tried to exit the game through the 'X' button, it will reload the page and rejoin the lobby 2025-02-18 01:10:26 +02:00
NewHappyRabbit 3d266beae0 Leaderboard can now be hidden and shown on both desktop and mobile 2025-02-17 22:34:44 +02:00
NewHappyRabbit 2249f5207e Public lobbies map will now be picked from a randomized playlist, assuring each map is played at least once, without duplicates. 2025-02-17 21:32:36 +02:00
Sajad Hashemian edac371b55 only display exit confirmation while player is alive 2025-02-17 14:23:37 +01:00
Sajad Hashemian 3d3ad3cece add confirmation dialog before exiting the game 2025-02-17 00:38:40 +01:00
Evan 0f325d4be8 add database layer 2025-02-16 12:18:50 -08:00
NewHappyRabbit 774a78d143 Added descriptions in build menu 2025-02-16 12:18:50 -08:00
Evan 969886331c create discord login button & flow 2025-02-16 12:18:50 -08:00
NewHappyRabbit adb1b9299b Made UserSettings nullable 2025-02-16 12:18:50 -08:00
NewHappyRabbit f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -08:00
Evan d9f2b683d7 add eq for zoom, chagne meta give more bonus large players, don't throw exception when attack self 2025-02-15 14:31:18 -08:00
Evan 484fecef27 rebalance hard and impossible 2025-02-15 10:02:48 -08:00
Evan d08b984c1a rebalance: attackers lose fewer troops, difficulties change troop increase rate 2025-02-15 10:00:37 -08:00
evanpelle 1132948d2b Merge pull request #35 from SunnyBoyWTF/patch-1
Update BotNames.ts to include Queendom
2025-02-15 09:15:24 -08:00
evanpelle b3141aaefd Merge pull request #36 from SunnyBoyWTF/patch-2
Update LICENSE to Copyright 2025
2025-02-15 09:15:06 -08:00
SunnyBoyWTF d1a2719d29 Update LICENSE to Copyright 2025 2025-02-14 14:03:22 -05:00
SunnyBoyWTF 138e7f0b8d Update BotNames.ts to include Queendom
A Queendom is a kingdom ruled by a Queen and I feel like both kingdom and Queendom should be included.
2025-02-14 11:48:51 -05:00
evanpelle 68fef55599 Merge pull request #32 from NewHappyRabbit/flags
Fixed flag modal CSS for mobile
2025-02-14 08:03:33 -08:00
evanpelle f48670baca Merge pull request #34 from NewHappyRabbit/main
Removed offensive bot name 'Assyrian'. Traitor 'yes/no' text capitalized
2025-02-14 08:02:38 -08:00
Evan 0d4f91a52a make h-bomb smaller, make mirv 15 million 2025-02-14 08:01:46 -08:00
Hristiyan Simeonov 59e8786f9f Merge branch 'openfrontio:main' into main 2025-02-14 14:45:57 +02:00
NewHappyRabbit e272c5e9ed Removed offensive bot name 'Assyrian'. Traitor 'yes/no' text capitalized 2025-02-14 13:57:00 +02:00
NewHappyRabbit 42ca32d390 Fixed flag modal CSS for mobile 2025-02-14 10:54:29 +02:00
Evan 2f8a746a52 greatly reduce attack bonus for large attacks. 2025-02-13 20:34:02 -08:00
Evan f2d50a79b8 capitalize yes/no on traitor display 2025-02-13 15:36:41 -08:00