Commit Graph

43 Commits

Author SHA1 Message Date
NewHappyRabbit 1e38e5565c Added instructions in modal in main menu 2025-02-21 00:58:07 +02:00
Evan 5e9703a5b7 show game join url when playing multiplayer 2025-02-20 11:26:03 -08:00
NewHappyRabbit e9eb006cea Added dark mode 2025-02-20 00:48:45 +02:00
NewHappyRabbit aab9c05865 Merge remote-tracking branch 'upstream/main' 2025-02-12 22:55:46 +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
NewHappyRabbit 303543d246 Lobby urls! Server will server index.html and act as a SPA. 2025-02-12 21:18:23 +02:00
NewHappyRabbit e1a6c5f7bd Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO into SPA 2025-02-12 20:03:26 +02:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
NewHappyRabbit 1e1942ab1c TODO: Keep working 2025-02-12 02:08:29 +02:00
NewHappyRabbit 7fcbaa8584 Added creative mode. Everything costs 0 gold, builds instantly and you start with 100k population 2025-02-12 00:15:30 +02:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
NewHappyRabbit 3230151077 Started working on flags. 2025-02-11 17:51:01 +02:00
NewHappyRabbit 684b0bb2e0 Added checkboxes to disable Bots and NPCs for single player and private lobbies 2025-02-11 03:29:56 +02:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan dbe3bdd8e5 update front page background 2025-02-01 12:05:11 -08:00
Evan 8443095d89 create game runner 2025-02-01 12:05:11 -08:00
Evan f6b739e263 validate usernames on change, fix public lobby highlight bug, validate
strings with zod for safety
2025-01-02 09:02:23 -08:00
Mittani af6c519d77 * updata validation on public games 2024-12-31 13:06:43 -08:00
Mittani d99219afba * formating 2024-12-31 13:06:43 -08:00
Mittani aa01ea7694 + add random bot names 2024-12-31 13:05:22 -08:00
evanpelle 0d3d49fdd0 use consolex in client folder 2024-12-18 14:01:34 -08:00
evanpelle 642d5dc4ca create consolex class for remote logging 2024-12-18 11:50:31 -08:00
evanpelle d11e5bc119 create generateCryptoRnadomUUID to support older browsers 2024-12-18 08:12:27 -08:00
Evan 94992e1144 send all logs from client to server and log them 2024-12-17 19:53:17 -08:00
evanpelle 1417808c14 store user's persistent id in bigquery 2024-12-17 14:30:16 -08:00
Evan 2fc81c7d17 store client ips in bigquery table 2024-12-14 10:03:05 -08:00
Evan 0a29a1fe90 attempt fix private game not connecting 2024-12-07 20:55:47 -08:00
Evan 7669105a1b record games in gcs 2024-12-07 18:30:04 -08:00
Evan 2d2df14ae3 add GameConfig to Game 2024-12-07 09:45:39 -08:00
Evan ec155dcb84 fix gameStop undefined error when refreshing page 2024-12-03 20:04:00 -08:00
Evan b20f390c7c update favicon 2024-11-29 14:02:57 -08:00
Evan 3e4f4e42cf created path finding web worker 2024-11-29 11:34:03 -08:00
Evan 56d4b924fa add difficulties 2024-10-23 21:08:24 -07:00
evanpelle d92dc9eba6 rewrite game join network logic: don't load client game until game starts. Allows setting attrs like game map, difficulty 2024-10-16 19:52:05 -07:00
evanpelle 9b789b7006 bump version, added loggin 2024-10-15 20:27:19 -07:00
evanpelle e6fe0141b9 fix lobby join bug 2024-10-15 20:09:08 -07:00
evanpelle be7a01954a fix lobby join bugs 2024-10-15 20:00:56 -07:00
evanpelle 3885b39442 now get message if join sucessful 2024-10-15 17:51:46 -07:00
evanpelle 42a6a2fcef can creater & join lobby 2024-10-14 20:45:31 -07:00
evanpelle 5da1c2f620 can select map private game 2024-10-12 20:54:18 -07:00
evanpelle 3a2cd4e326 rename Client.ts -> Main.ts 2024-10-12 18:57:52 -07:00