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
Binary file added map-generator/assets/maps/tourney1/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions map-generator/assets/maps/tourney1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Tourney1",
"nations": [
{
"coordinates": [177, 510],
"name": "Left"
},
{
"coordinates": [847, 511],
"name": "Right"
}
]
}
Binary file added map-generator/assets/maps/tourney2/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions map-generator/assets/maps/tourney2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "Tourney2",
"nations": [
{
"coordinates": [339, 987],
"name": "South West"
},
{
"coordinates": [1162, 990],
"name": "South East"
},
{
"coordinates": [750, 278],
"name": "North"
}
]
}
Binary file added map-generator/assets/maps/tourney3/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions map-generator/assets/maps/tourney3/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Tourney3",
"nations": [
{
"coordinates": [437, 410],
"name": "North West"
},
{
"coordinates": [1066, 408],
"name": "North East"
},
{
"coordinates": [433, 1088],
"name": "South West"
},
{
"coordinates": [1068, 1075],
"name": "South East"
}
]
}
Binary file added map-generator/assets/maps/tourney4/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions map-generator/assets/maps/tourney4/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "Tourney4",
"nations": [
{
"coordinates": [568, 309],
"name": "North North West"
},
{
"coordinates": [308, 562],
"name": "West North West"
},
{
"coordinates": [945, 303],
"name": "North North East"
},
{
"coordinates": [1188, 556],
"name": "East North East"
},
{
"coordinates": [1196, 931],
"name": "East South East"
},
{
"coordinates": [941, 1178],
"name": "South South East"
},
{
"coordinates": [564, 1185],
"name": "South South West"
},
{
"coordinates": [315, 927],
"name": "West South West"
}
]
}
4 changes: 4 additions & 0 deletions map-generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ var maps = []struct {
{Name: "world"},
{Name: "lemnos"},
{Name: "twolakes"},
{Name: "tourney1"},
{Name: "tourney2"},
{Name: "tourney3"},
{Name: "tourney4"},
{Name: "thebox"},
{Name: "didier"},
{Name: "didierfrance"},
Expand Down
5 changes: 5 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@
"svalmel": "Svalmel",
"manicouagan": "Manicouagan",
"lemnos": "Lemnos",
"tourney1": "Tourney 2 Teams",
"tourney2": "Tourney 3 Teams",
"tourney3": "Tourney 4 Teams",
"tourney4": "Tourney 8 Teams",
"passage": "Passage",
"sierpinski": "Sierpinski",
"thebox": "The Box",
Expand All @@ -352,6 +356,7 @@
"featured": "Featured",
"continental": "Continental",
"regional": "Regional",
"tournament": "Tournament",
"fantasy": "Other",
"special": "Special",
"arcade": "Arcade"
Expand Down
28 changes: 28 additions & 0 deletions resources/maps/tourney1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"map": {
"height": 1500,
"num_land_tiles": 984577,
"width": 1500
},
"map16x": {
"height": 375,
"num_land_tiles": 60237,
"width": 375
},
"map4x": {
"height": 750,
"num_land_tiles": 244567,
"width": 750
},
"name": "Tourney1",
"nations": [
{
"coordinates": [177, 510],
"name": "Left"
},
{
"coordinates": [847, 511],
"name": "Right"
}
]
}
1 change: 1 addition & 0 deletions resources/maps/tourney1/map.bin

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/maps/tourney1/map4x.bin

Large diffs are not rendered by default.

Binary file added resources/maps/tourney1/thumbnail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions resources/maps/tourney2/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"map": {
"height": 1500,
"num_land_tiles": 1024327,
"width": 1500
},
"map16x": {
"height": 375,
"num_land_tiles": 62691,
"width": 375
},
"map4x": {
"height": 750,
"num_land_tiles": 254300,
"width": 750
},
"name": "Tourney2",
"nations": [
{
"coordinates": [339, 987],
"name": "South West"
},
{
"coordinates": [1162, 990],
"name": "South East"
},
{
"coordinates": [750, 278],
"name": "North"
}
]
}
1 change: 1 addition & 0 deletions resources/maps/tourney2/map.bin

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/maps/tourney2/map4x.bin

Large diffs are not rendered by default.

Binary file added resources/maps/tourney2/thumbnail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions resources/maps/tourney3/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"map": {
"height": 1500,
"num_land_tiles": 1008007,
"width": 1500
},
"map16x": {
"height": 375,
"num_land_tiles": 61644,
"width": 375
},
"map4x": {
"height": 750,
"num_land_tiles": 250191,
"width": 750
},
"name": "Tourney3",
"nations": [
{
"coordinates": [437, 410],
"name": "North West"
},
{
"coordinates": [1066, 408],
"name": "North East"
},
{
"coordinates": [433, 1088],
"name": "South West"
},
{
"coordinates": [1068, 1075],
"name": "South East"
}
]
}
1 change: 1 addition & 0 deletions resources/maps/tourney3/map.bin

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/maps/tourney3/map4x.bin

Large diffs are not rendered by default.

Binary file added resources/maps/tourney3/thumbnail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions resources/maps/tourney4/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"map": {
"height": 1500,
"num_land_tiles": 905705,
"width": 1500
},
"map16x": {
"height": 375,
"num_land_tiles": 54860,
"width": 375
},
"map4x": {
"height": 750,
"num_land_tiles": 224342,
"width": 750
},
"name": "Tourney4",
"nations": [
{
"coordinates": [568, 309],
"name": "North North West"
},
{
"coordinates": [308, 562],
"name": "West North West"
},
{
"coordinates": [945, 303],
"name": "North North East"
},
{
"coordinates": [1188, 556],
"name": "East North East"
},
{
"coordinates": [1196, 931],
"name": "East South East"
},
{
"coordinates": [941, 1178],
"name": "South South East"
},
{
"coordinates": [564, 1185],
"name": "South South West"
},
{
"coordinates": [315, 927],
"name": "West South West"
}
]
}
1 change: 1 addition & 0 deletions resources/maps/tourney4/map.bin

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/maps/tourney4/map4x.bin

Large diffs are not rendered by default.

Binary file added resources/maps/tourney4/thumbnail.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/core/game/Game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ export enum GameMapType {
Lisbon = "Lisbon",
Manicouagan = "Manicouagan",
Lemnos = "Lemnos",
Tourney1 = "Tourney 2 Teams",
Tourney2 = "Tourney 3 Teams",
Tourney3 = "Tourney 4 Teams",
Tourney4 = "Tourney 8 Teams",
Passage = "Passage",
Sierpinski = "Sierpinski",
TheBox = "The Box",
Expand Down Expand Up @@ -210,6 +214,12 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.DidierFrance,
GameMapType.Sierpinski,
],
tournament: [
GameMapType.Tourney1,
GameMapType.Tourney2,
GameMapType.Tourney3,
GameMapType.Tourney4,
],
};

export enum GameType {
Expand Down
Loading