Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
af80317
Remove Gatekeeper submodule and related code; refactor API endpoints …
1brucben Feb 21, 2026
deb21d2
pseudorandom.ts minor fixes (#2046)
1brucben Feb 21, 2026
c9132c5
Player names are hidden when zoomed in too much (#2043)
1brucben Feb 21, 2026
e50ad97
Add test for nation name length and fix names exceeding 27 chars (#2122)
1brucben Feb 21, 2026
91fa6fb
refactor: simplify manifest path resolution in nation name length test
1brucben Feb 21, 2026
506c1b8
feat: add spectate option and track win state in WinModal
1brucben Feb 21, 2026
4704e6f
refactor: streamline SAM Launcher range calculation by removing local…
1brucben Feb 21, 2026
1977809
refactor: remove unused player focus logic and clean up related methods
1brucben Feb 21, 2026
c6de46d
bugfix: check if modal is not null before checking if it contains isM…
1brucben Feb 21, 2026
4742176
refactor: rename canBoatAttack to canAutoBoat and simplify its logic
1brucben Feb 21, 2026
d5ec1dc
refactor: update pathfinding logic to use path index for tile retrieval
1brucben Feb 21, 2026
71833c3
Fix socket log (#2369)
1brucben Feb 21, 2026
ef5580a
fix(replay): change text to 'replay speed' when watching a replay #23…
1brucben Feb 21, 2026
00ecbcb
refactor: update ClusterTraversalState to use Uint32Array and simplif…
1brucben Feb 21, 2026
758ec30
refactor: optimize cluster selection logic to find the largest cluste…
1brucben Feb 21, 2026
97f0a5d
fix: ensure canvas context is created with alpha set to false and set…
1brucben Feb 21, 2026
8b9b567
fix: create 2D canvas context with alpha set to false
1brucben Feb 21, 2026
80199d5
feat: implement WebSocket support for lobby updates and fallback polling
1brucben Feb 21, 2026
33aaa1c
feat: implement game configuration update via WebSocket and event han…
1brucben Feb 21, 2026
11e0aed
fix: possibility for negative values in gold and troop donation (#2810)
1brucben Feb 21, 2026
6597027
feat: Add Pathfinding Playground Server and Benchmarking Utilities
1brucben Feb 21, 2026
25a44f7
Refactor pathfinding UI and backend for HPA* integration
1brucben Feb 21, 2026
fb78aad
Pathfinding Refinement (#2878)
1brucben Feb 21, 2026
67ff7cb
Pathfinding - optimize naval invasions (#2932)
1brucben Feb 21, 2026
4633c2c
fix (pathfinding): prioritize best connected water neighbor in ShoreC…
1brucben Feb 21, 2026
a936fa1
Fix warship pathfinding (#2955)
1brucben Feb 21, 2026
123e725
Pathfinding refinements (#2959)
1brucben Feb 21, 2026
d9a01ad
fix (GameServer): handle game end state and prevent starting after end
1brucben Feb 21, 2026
a46fbf8
perf(game): optimize border tile updates (#3124)
1brucben Feb 21, 2026
1b19c05
refactor(PlayerExecution): optimize cluster bounding box calculations…
1brucben Feb 21, 2026
c2675bb
fix(PlayerImpl): allow MIRVWarhead construction regardless of player …
1brucben Feb 21, 2026
720ef0f
perf(GameRunner): optimize tile update packing and reduce memory chur…
1brucben Feb 21, 2026
6c4eb66
feat(PlayerImpl): optimize unit retrieval for small type sets and imp…
1brucben Feb 21, 2026
ec093d2
fix(RadialMenu): remove unused source tile reference in boat attack i…
1brucben Feb 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "src/server/gatekeeper"]
path = src/server/gatekeeper
url = https://github.com/openfrontio/gatekeeper.git
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const gitignorePath = path.resolve(__dirname, ".gitignore");
/** @type {import('eslint').Linter.Config[]} */
export default [
includeIgnoreFile(gitignorePath),
{ ignores: ["src/server/gatekeeper/**"] },
{ ignores: ["src/server/gatekeeper/**", "tests/pathfinding/playground/**"] },
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
Expand Down
Binary file added map-generator/assets/test_maps/world/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
310 changes: 310 additions & 0 deletions map-generator/assets/test_maps/world/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
{
"name": "World",
"nations": [
{
"coordinates": [375, 272],
"flag": "us",
"name": "United States"
},
{
"coordinates": [372, 136],
"flag": "ca",
"name": "Canada"
},
{
"coordinates": [375, 374],
"flag": "mx",
"name": "Mexico"
},
{
"coordinates": [500, 378],
"flag": "cu",
"name": "Cuba"
},
{
"coordinates": [524, 474],
"flag": "co",
"name": "Colombia"
},
{
"coordinates": [593, 473],
"flag": "ve",
"name": "Venezuela"
},
{
"coordinates": [596, 705],
"flag": "ar",
"name": "Argentina"
},
{
"coordinates": [637, 567],
"flag": "br",
"name": "Brazil"
},
{
"coordinates": [1280, 975],
"flag": "aq",
"name": "Antarctica"
},
{
"coordinates": [709, 57],
"flag": "gl",
"name": "Greenland"
},
{
"coordinates": [831, 112],
"flag": "is",
"name": "Iceland"
},
{
"coordinates": [925, 186],
"flag": "gb",
"name": "United Kingdom"
},
{
"coordinates": [887, 183],
"flag": "ie",
"name": "Ireland"
},
{
"coordinates": [908, 264],
"flag": "es",
"name": "Spain"
},
{
"coordinates": [1004, 250],
"flag": "it",
"name": "Italy"
},
{
"coordinates": [958, 220],
"flag": "fr",
"name": "France"
},
{
"coordinates": [997, 205],
"flag": "de",
"name": "Germany"
},
{
"coordinates": [1064, 101],
"flag": "se",
"name": "Sweden"
},
{
"coordinates": [1046, 193],
"flag": "pl",
"name": "Poland"
},
{
"coordinates": [1061, 188],
"flag": "by",
"name": "Belarus"
},
{
"coordinates": [1073, 243],
"flag": "ro",
"name": "Romania"
},
{
"coordinates": [1161, 274],
"flag": "tr",
"name": "Turkey"
},
{
"coordinates": [969, 133],
"flag": "no",
"name": "Norway"
},
{
"coordinates": [1062, 133],
"flag": "fi",
"name": "Finland"
},
{
"coordinates": [1099, 211],
"flag": "ua",
"name": "Ukraine"
},
{
"coordinates": [1344, 136],
"flag": "ru",
"name": "Russia"
},
{
"coordinates": [1537, 186],
"flag": "mn",
"name": "Mongolia"
},
{
"coordinates": [1524, 328],
"flag": "cn",
"name": "China"
},
{
"coordinates": [1368, 373],
"flag": "in",
"name": "India"
},
{
"coordinates": [1276, 239],
"flag": "kz",
"name": "Kazakhstan"
},
{
"coordinates": [1238, 309],
"flag": "ir",
"name": "Islamic Republic Of Iran"
},
{
"coordinates": [1178, 351],
"flag": "sa",
"name": "Saudi Arabia"
},
{
"coordinates": [1679, 657],
"flag": "au",
"name": "Australia"
},
{
"coordinates": [1890, 775],
"flag": "nz",
"name": "New Zealand"
},
{
"coordinates": [918, 342],
"flag": "dz",
"name": "Algeria"
},
{
"coordinates": [1030, 332],
"flag": "ly",
"name": "Libyan Arab Jamahiriya"
},
{
"coordinates": [1092, 335],
"flag": "eg",
"name": "Egypt"
},
{
"coordinates": [963, 410],
"flag": "ne",
"name": "Niger"
},
{
"coordinates": [1112, 406],
"flag": "sd",
"name": "Sudan"
},
{
"coordinates": [1074, 508],
"flag": "cd",
"name": "DR Congo"
},
{
"coordinates": [1154, 443],
"flag": "et",
"name": "Ethiopia"
},
{
"coordinates": [1075, 707],
"flag": "za",
"name": "South Africa"
},
{
"coordinates": [1194, 627],
"flag": "mg",
"name": "Madagascar"
},
{
"coordinates": [1052, 420],
"flag": "td",
"name": "Chad"
},
{
"coordinates": [1030, 665],
"flag": "na",
"name": "Namibia"
},
{
"coordinates": [1632, 465],
"flag": "ph",
"name": "Philippines"
},
{
"coordinates": [1537, 426],
"flag": "th",
"name": "Thailand"
},
{
"coordinates": [1610, 364],
"flag": "tw",
"name": "Taiwan"
},
{
"coordinates": [1710, 290],
"flag": "jp",
"name": "Japan"
},
{
"coordinates": [1869, 119],
"flag": "ru",
"name": "Siberia"
},
{
"coordinates": [74, 117],
"flag": "polar_bears",
"name": "Polar Bears"
},
{
"coordinates": [419, 975],
"flag": "aq",
"name": "West Antarctica"
},
{
"coordinates": [542, 603],
"flag": "pe",
"name": "Peru"
},
{
"coordinates": [1075, 615],
"flag": "zm",
"name": "Zambia"
},
{
"coordinates": [1099, 165],
"flag": "lv",
"name": "Latvia"
},
{
"coordinates": [1427, 336],
"flag": "bt",
"name": "Bhutan"
},
{
"coordinates": [1511, 524],
"flag": "id",
"name": "Indonesia"
},
{
"coordinates": [1809, 977],
"flag": "aq",
"name": "East Antarctica"
},
{
"coordinates": [1255, 382],
"flag": "om",
"name": "Oman"
},
{
"coordinates": [853, 373],
"flag": "ma",
"name": "Morocco"
},
{
"coordinates": [656, 678],
"flag": "uy",
"name": "Uruguay"
}
]
}
1 change: 1 addition & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@
"other_won": "{player} has won!",
"exit": "Exit Game",
"keep": "Keep Playing",
"spectate": "Spectate",
"wishlist": "Wishlist on Steam!",
"save_replay": "Save Replay",
"encoding_replay": "Encoding replay...",
Expand Down
2 changes: 1 addition & 1 deletion resources/maps/Africa/Africa.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
{
"coordinates": [1094, 1093],
"name": "Democratic Republic of the Congo",
"name": "DR Congo",
"strength": 2,
"flag": "cd"
},
Expand Down
2 changes: 1 addition & 1 deletion resources/maps/Europe/Europe.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
},
{
"coordinates": [517, 1483],
"name": "People's Democratic Republic of Algeria",
"name": "Algeria",
"strength": 1,
"flag": "dz"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
{
"coordinates": [1609, 1837],
"name": "People's Republic of Algeria'",
"name": "Algeria",
"strength": 2,
"flag": "dz"
},
Expand Down
4 changes: 2 additions & 2 deletions resources/maps/Oceania/Oceania.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
{
"coordinates": [143, 37],
"name": "Lao People's Democratic Republic",
"name": "Lao PDR",
"strength": 1,
"flag": "la"
},
Expand Down Expand Up @@ -101,7 +101,7 @@
},
{
"coordinates": [834, 215],
"name": "Federated States of Micronesia",
"name": "Micronesia",
"strength": 1,
"flag": "fm"
},
Expand Down
2 changes: 1 addition & 1 deletion resources/maps/WorldMap/WorldMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
},
{
"coordinates": [1074, 508],
"name": "The Democratic Republic of the Congo",
"name": "DR Congo",
"strength": 1,
"flag": "cd"
},
Expand Down
Loading
Loading