Commit Graph

4036 Commits

Author SHA1 Message Date
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
SunnyBoyWTF 490dcb52a7 Update Maps.ts to include Africa 2025-02-18 13:55:40 -05: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
SunnyBoyWTF 4eeae8879c Compiled binary files 2025-02-18 13:49:37 -05:00
SunnyBoyWTF 8a0e372708 Update Africa.json to reflect new image dimensions 2025-02-18 13:31:11 -05:00
SunnyBoyWTF 75bb6dc084 Replace Africa.png with a smaller image 2025-02-18 13:27:02 -05:00
SunnyBoyWTF 79ba1bc4d3 Delete resources/maps/Africa.png to replace with a smaller image 2025-02-18 13:26:24 -05:00
SunnyBoyWTF 652c52aa6b fixed bug in Africa.json 2025-02-18 13:10:46 -05:00
SunnyBoyWTF 2df902b897 Update Africa.json 2025-02-18 13:09:45 -05:00
SunnyBoyWTF ba1f4f1bfd Create Africa.json 2025-02-18 13:00:02 -05:00
SunnyBoyWTF ceeea215ab Add Africa.png 2025-02-18 12:57:56 -05: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