Commit Graph

582 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 33cb3a7d0a make pop increase rate yellow or green if increasing/decreasing 2025-02-18 19:43:37 -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 f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
NewHappyRabbit 9565a0cffa Added map image preview for public lobby 2025-02-18 14:52:09 +02: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 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
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
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
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 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
evanpelle 68fef55599 Merge pull request #32 from NewHappyRabbit/flags
Fixed flag modal CSS for mobile
2025-02-14 08:03:33 -08:00
NewHappyRabbit 42ca32d390 Fixed flag modal CSS for mobile 2025-02-14 10:54:29 +02:00
Evan f2d50a79b8 capitalize yes/no on traitor display 2025-02-13 15:36:41 -08:00
Evan 9dc326e06a rename intense difficulty => impossible 2025-02-13 11:51:25 -08:00
NewHappyRabbit 115e40916b Flag button turned into toggle to show/hide flags modal. 2025-02-13 18:11:18 +02:00
NewHappyRabbit 60e74b75bb Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO 2025-02-13 14:43:23 +02:00
Evan bba7f6f0e5 bugfix: allow click on events display 2025-02-12 20:36:26 -08:00
Evan 74bdae1ce7 increase max zoom out for mobile 2025-02-12 20:29:27 -08:00
Evan 421c6e7841 use tileref instead of MapPos for UnitUpdate 2025-02-12 16:22:02 -08:00
NewHappyRabbit aab9c05865 Merge remote-tracking branch 'upstream/main' 2025-02-12 22:55:46 +02:00
NewHappyRabbit 9de6f6d1e2 Forgot to prettier... 2025-02-12 22:54:59 +02:00
NewHappyRabbit 27173092cf Changed the flags to a more cartoony/emojiy? version (Thanks Nour!).
Removed coalitions from the countries.json file.
Seperated the flag from the name input.
2025-02-12 22:53:33 +02:00
Evan f448785476 have client stop polling for public servers after game starts 2025-02-12 12:08:50 -08:00
Evan eae53b29cb change flag top margin a bit 2025-02-12 11:59:07 -08:00
Evan ea08856636 fix merge conflict: put / in flag path 2025-02-12 11:48:25 -08:00
Evan 87135d6da2 style flags: make them smaller and put under name 2025-02-12 11:47:15 -08:00
evanpelle 9ee1a94b10 Merge pull request #28 from NewHappyRabbit/SPA
Private lobby urls added. Server now acts as a SPA.
2025-02-12 11:45:54 -08:00
NewHappyRabbit e0aa6b5d9c Ran prettier 2025-02-12 21:30:43 +02:00
Evan 3639997f05 make bot names gray instead of bot emoji 2025-02-12 11:29:49 -08:00
NewHappyRabbit 303543d246 Lobby urls! Server will server index.html and act as a SPA. 2025-02-12 21:18:23 +02:00
Evan a478e305d1 fix right click bringing up context menu instead of radial menu on bottom of screen 2025-02-12 10:33:08 -08:00
Evan a8c04f11ee bugfix: emoji button to send to all players always active, shorten emoji cooldown 2025-02-12 10:24:32 -08:00
NewHappyRabbit e1a6c5f7bd Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO into SPA 2025-02-12 20:03:26 +02:00
Evan 00102972e6 fix index.html from bad merge 2025-02-12 08:55:26 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
evanpelle a30079ac94 Merge pull request #27 from NewHappyRabbit/main
Fixed countries.json. Fixed flag container overflowing.
2025-02-12 08:22:52 -08:00
evanpelle bcc9e57b13 Merge branch 'main' into svg-logo 2025-02-12 08:18:31 -08:00
evanpelle 57946566df Merge pull request #25 from q8gazy/Non-host-see-lobby-players
non-host player can see who's in the lobby
2025-02-12 08:13:41 -08:00
evanpelle 8532b02bbd Merge pull request #23 from q8gazy/fix-control-panel
fix control-panel size
2025-02-12 08:12:19 -08:00
NewHappyRabbit de01f322ac Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO 2025-02-12 16:51:39 +02:00