Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions map-generator/assets/maps/beringstrait/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "BeringStrait",
"nations": [
{
"coordinates": [1297, 287],
"name": "Alaska",
"flag": "us"
},
{
"coordinates": [186, 427],
"name": "Russia",
"flag": "ru"
}
]
}
1 change: 1 addition & 0 deletions map-generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var maps = []struct {
{Name: "baikal"},
{Name: "baikalnukewars"},
{Name: "betweentwoseas"},
{Name: "beringstrait"},
{Name: "blacksea"},
{Name: "britannia"},
{Name: "britanniaclassic"},
Expand Down
1 change: 1 addition & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@
"didier": "Didier",
"didierfrance": "Didier (France)",
"amazonriver": "Amazon River",
"beringstrait": "Bering Strait",
"tradersdream": "Traders Dream",
"hawaii": "Hawaii",
"alps": "Alps"
Expand Down
30 changes: 30 additions & 0 deletions resources/maps/beringstrait/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"map": {
"height": 916,
"num_land_tiles": 596318,
"width": 1500
},
"map16x": {
"height": 229,
"num_land_tiles": 35567,
"width": 375
},
"map4x": {
"height": 458,
"num_land_tiles": 146741,
"width": 750
},
"name": "BeringStrait",
"nations": [
{
"coordinates": [1297, 287],
"flag": "us",
"name": "Alaska"
},
{
"coordinates": [186, 427],
"flag": "ru",
"name": "Russia"
}
]
}
289 changes: 289 additions & 0 deletions resources/maps/beringstrait/map.bin

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/maps/beringstrait/map16x.bin

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions resources/maps/beringstrait/map4x.bin

Large diffs are not rendered by default.

Binary file added resources/maps/beringstrait/thumbnail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/core/game/Game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export enum GameMapType {
Didier = "Didier",
DidierFrance = "Didier France",
AmazonRiver = "Amazon River",
BeringStrait = "Bering Strait",
Yenisei = "Yenisei",
TradersDream = "Traders Dream",
Hawaii = "Hawaii",
Expand Down Expand Up @@ -179,6 +180,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.TwoLakes,
GameMapType.StraitOfHormuz,
GameMapType.AmazonRiver,
GameMapType.BeringStrait,
GameMapType.Yenisei,
GameMapType.Hawaii,
GameMapType.Alps,
Expand Down
1 change: 1 addition & 0 deletions src/server/MapPlaylist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const frequency: Partial<Record<GameMapName, number>> = {
DidierFrance: 1,
Didier: 1,
AmazonRiver: 3,
BeringStrait: 4,
Sierpinski: 10,
TheBox: 3,
Yenisei: 6,
Expand Down
Loading