Commit Graph

51 Commits

Author SHA1 Message Date
evanpelle 4abc5e2406 pad turns at the end on replay (#256) 2025-03-15 13:49:16 -07:00
evanpelle 6a24bce213 fix decompress game record function, start at -1 (#203) 2025-03-10 07:21:24 -07:00
evanpelle 33292aec5c feat: replay archived games, gamestate hash verification (#195)
create endpoint to load archived game. when joining game client first
checks if the game is active, if not it requests the game archive from
the server. the archive is sent to LocalServer to replay the game
locally. Every 10 ticks a hash is stored on the archive, and during
replay the LocalServer verifies this hash.
2025-03-09 14:24:39 -07:00
ilan schemoul 1b76c46bc5 feat: remove LocalPersistantStats so we locally save GameRecords
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
BeGj 619891741f linting 2025-03-07 16:53:10 +00:00
Evan 0a482e2e6e infinity checks on bigint 2025-03-03 19:21:39 -08:00
Evan c1383d76f1 allow boating on lakes 2025-03-03 19:19:16 -08:00
Evan d726fd66b5 store values as bigints to prevent floating point drift 2025-03-02 09:39:51 -08:00
NewHappyRabbit c057f70c45 UI fixes 2025-03-02 09:29:10 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan a5a2f46099 have client send winner to server 2025-02-01 12:05:11 -08:00
evanpelle de1dbff570 combine Game & MutableGame 2025-02-01 12:05:11 -08:00
Evan 70a5b8883e make calculate clusters more efficient 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 a17ae48cd3 use TileRef instead of tile 2025-02-01 12:05:11 -08:00
Evan 3e8517363f use GameView in renderers 2025-02-01 12:05:11 -08:00
Evan dab427d614 put methods onto terraintile 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 aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00
Mittani aa01ea7694 + add random bot names 2024-12-31 13:05:22 -08:00
Evan 2fc81c7d17 store client ips in bigquery table 2024-12-14 10:03:05 -08:00
evanpelle c13bb1eef9 don't display unit deleted message when tranpsort ship lands 2024-12-11 16:49:23 -08:00
Evan 75144a0672 clicking on leaderboard brings you to player 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 7669105a1b record games in gcs 2024-12-07 18:30:04 -08:00
Evan cd09c0a1d6 record game metadata to gcs 2024-12-07 08:54:09 -08:00
Evan 3f315cd433 display message when trade ship arrives 2024-11-22 15:03:00 -08:00
Evan 371a33b406 fixed units() returning empty when no units specified, moved canBuild logic to PlayerImpl 2024-11-17 12:38:54 -08:00
Evan b5a8339eb3 move unit info to config 2024-11-16 21:09:25 -08:00
Evan ddc7ddb8b8 only trade with allies 2024-11-15 20:43:15 -08:00
evanpelle 71be40a2cd destroyer spawns from port 2024-11-15 20:43:15 -08:00
Evan 975750b294 destroyer moves upwards 2024-11-15 20:43:15 -08:00
Evan 3de73e665b bugfix: rendering player with twemojis in eventsdisplay 2024-11-09 12:02:55 -08:00
Evan a31a35c038 remove setnameexecution because unused, create DisplayName on Player 2024-10-31 20:30:17 -07:00
evanpelle a81dbda071 add nuke button 2024-10-19 10:04:40 -07:00
evanpelle c4c23de1ec make radial menu boat button 2024-09-28 12:58:49 -07:00
evanpelle f3307300ef refactored GameImpl into multiple files 2024-09-17 19:49:16 -07:00
evanpelle bf7273ad5a rebalancing 2024-09-07 13:35:07 -07:00
evanpelle 4161b4d71c better random, improved map 2024-09-05 19:19:52 -07:00
evanpelle 2082b229b4 send boat even if borders with enemy 2024-09-04 19:33:49 -07:00
evanpelle f01949f007 lose disconnected territory 2024-08-30 19:41:40 -07:00
evanpelle 64265b1a75 more efficient spawns 2024-08-30 11:48:07 -07:00
evanpelle 906412e64a boats can go around the world 2024-08-29 20:46:20 -07:00
evanpelle c8518ce30b better UX for boats 2024-08-29 20:04:29 -07:00
evanpelle 51650eb930 can change spawn in beginning of game 2024-08-25 20:21:35 -07:00
evanpelle 41d7c77d2d tiles now have lake or ocean method 2024-08-23 17:53:55 -07:00
evanpelle d12ebc5f4b increased game length, balanced attacks 2024-08-16 14:48:51 -07:00
evanpelle 001722bd59 added deployment 2024-08-13 20:07:20 -07:00