Commit Graph

56 Commits

Author SHA1 Message Date
Evan f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
Evan 2fa576c841 sanitize profane usernames 2025-02-08 19:00:35 -08:00
Evan 1594a45dac have buildings take time to construct 2025-02-08 13:53:58 -08:00
Evan b643a6357b implement mirv 2025-02-04 11:53:41 -08:00
Evan bbf72bd14f simply start population calculation 2025-02-03 12:37:04 -08:00
Evan c109d23f9f combine battleship + destroyer => warship. 2025-02-02 14:31:30 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
evanpelle de1dbff570 combine Game & MutableGame 2025-02-01 12:05:11 -08:00
evanpelle 7d15c0c065 combine Player & MutablePlayer interfaces 2025-02-01 12:05:11 -08:00
Evan f0f5bae79f thread_split: convert all tile to tileref 2025-02-01 12:05:11 -08:00
evanpelle 162b6dc349 in progress 2025-02-01 12:05:11 -08:00
evanpelle 7673cf03ac multithreading: radial menu works 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
evanpelle 57cbf5c55e Refactor: Split config into Config and ServerConfig 2024-12-25 14:04:19 -08:00
evanpelle e1d22193c1 render emoji on top of name, better trade notification 2024-12-10 20:28:39 -08:00
evanpelle 601f606a7f save game stats to bigquery, update enums 2024-12-10 20:28:39 -08:00
Evan da7637477c add Oceania and North America maps 2024-12-08 20:56:19 -08:00
Evan 2d2df14ae3 add GameConfig to Game 2024-12-07 09:45:39 -08:00
evanpelle e068a9afc7 implement cities 2024-12-04 16:27:07 -08:00
Evan e7039d3e07 add defense post unit (no execution) 2024-11-30 20:54:42 -08:00
Evan 4899196613 refactor: move worker into worker file 2024-11-29 15:57:39 -08:00
Evan 020d193667 create async path finder, trade ships use async when captured 2024-11-29 15:41:13 -08:00
Evan 3e4f4e42cf created path finding web worker 2024-11-29 11:34:03 -08:00
Evan 8abc5e4aed implement battleship 2024-11-26 10:15:54 -08:00
Evan 18ac34ae45 Created hydrogen bomb 2024-11-20 19:55:42 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00
Evan 975750b294 destroyer moves upwards 2024-11-15 20:43:15 -08:00
evanpelle c7951d77c0 adding destroyer 2024-11-15 20:43:15 -08:00
Evan 60751150bf added gold, troops, workers slider 2024-11-03 20:11:04 -08:00
Evan 2afecf0f39 create troop slider 2024-11-03 12:37:56 -08:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00
Evan 56d4b924fa add difficulties 2024-10-23 21:08:24 -07:00
evanpelle 33a85d521a create nuke execution & schema 2024-10-19 08:46:41 -07:00
evanpelle 180769bf35 create leaderboard, max 18 char name 2024-10-11 20:48:55 -07:00
evanpelle e1f7d395f2 delete num fake humans config, this is set by map json file 2024-10-08 20:45:18 -07:00
evanpelle 7235b73b6c * deleted old maps
* fixed bug where NPC and Bots had same id
* NPCs spawn near IRL location
* NPCs have different strength (starting troops)
* game has more NPCs than before
* Needs more balancing
2024-10-08 20:42:35 -07:00
evanpelle db7a259587 can donate to allies 2024-10-07 20:17:15 -07:00
evanpelle e795b22220 send fire emoji to other players 2024-10-04 13:08:20 -07:00
evanpelle 2223e40d53 Target player creates target icon 2024-10-02 16:25:13 -07:00
evanpelle c87d0ef3b8 make bot spawner seed gameID 2024-09-21 19:41:21 -07:00
evanpelle 5f38d2a544 added right click option break alliance 2024-09-21 09:42:43 -07:00
evanpelle c55532ab4b can create alliance between humans 2024-09-20 14:54:04 -07:00
evanpelle f3307300ef refactored GameImpl into multiple files 2024-09-17 19:49:16 -07:00
evanpelle 44877b8e59 create alliance request flow 2024-09-17 19:43:45 -07:00
evanpelle a7ad8790aa fakehumans send boats, improved map 2024-09-08 20:21:39 -07:00
evanpelle 8331047a9b have client create player id 2024-09-07 21:23:38 -07:00