Created
January 8, 2012 20:14
-
-
Save kevinfjbecker/1579530 to your computer and use it in GitHub Desktop.
A JSON graph representation of the Game of Thrones game board
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var graph = { | |
vertices: [ | |
{ // Castle Black | |
"x": 240, | |
"y": 90, | |
edges: [1,3] | |
}, | |
{ // Karhold | |
"x": 320, | |
"y": 140, | |
edges: [0,3] | |
}, | |
{ // The Stoney Shore | |
"x": 100, | |
"y": 250, | |
edges: [3] | |
}, | |
{ // Winterfel | |
"x": 200, | |
"y": 200, | |
edges: [0,1,2,4,8] | |
}, | |
{ // The White Harbor | |
"x": 250, | |
"y": 240, | |
edges: [3,5,8] | |
}, | |
{ // Widow's Watch | |
"x": 290, | |
"y": 250, | |
edges: [4] | |
}, | |
{ // Flint's Finger | |
"x": 90, | |
"y": 340, | |
edges: [7] | |
}, | |
{ // Greywater Watch | |
"x": 140, | |
"y": 340, | |
edges: [6,8,9] | |
}, | |
{ // Moat Calin | |
"x": 190, | |
"y": 340, | |
edges: [3,4,7,9,10] | |
}, | |
{ // Seagard | |
"x": 160, | |
"y": 390, | |
edges: [7,8,10,14] | |
}, | |
{ // The Twins | |
"x": 220, | |
"y": 390, | |
edges: [8,9,11,12] | |
}, | |
{ // The Fingers | |
"x": 280, | |
"y": 390, | |
edges: [10,12] | |
}, | |
{ // The Mountains of the Moon | |
"x": 260, | |
"y": 430, | |
edges: [10,11,13,18] | |
}, | |
{ // The Eyrie | |
"x": 310, | |
"y": 450, | |
edges: [12] | |
}, | |
{ // Riverrun | |
"x": 180, | |
"y": 460, | |
edges: [9,15,16,17] | |
}, | |
{ // Lanisport | |
"x": 110, | |
"y": 500, | |
edges: [14,16,19] | |
}, | |
{ // Stoney Sept | |
"x": 160, | |
"y": 510, | |
edges: [14,15,17,19,20] | |
}, | |
{ // Harrenhal | |
"x": 220, | |
"y": 490, | |
edges: [14,16,20,18,20] | |
}, | |
{ // Crackclaw Point | |
"x": 290, | |
"y": 500, | |
edges: [12,17,20,21] | |
}, | |
{ // Searoad Marches | |
"x": 100, | |
"y": 570, | |
edges: [15,16,20,22,23] | |
}, | |
{ // Blackwater | |
"x": 200, | |
"y": 570, | |
edges: [16,17,18,19,21,23] | |
}, | |
{ // King's Landing | |
"x": 260, | |
"y": 570, | |
edges: [18,20,23,24] | |
}, | |
{ // Highgarder | |
"x": 140, | |
"y": 640, | |
edges: [19,23,25,26] | |
}, | |
{ // The Reach | |
"x": 200, | |
"y": 620, | |
edges: [19,20,21,22,24,26,27] | |
}, | |
{ // Kingswood | |
"x": 290, | |
"y": 600, | |
edges: [21,23,27,28] | |
}, | |
{ // Old Town | |
"x": 90, | |
"y": 690, | |
edges: [22,26,29] | |
}, | |
{ // Dornish Marches | |
"x": 170, | |
"y": 660, | |
edges: [22,23,25,27,29,30] | |
}, | |
{ // The Boneway | |
"x": 230, | |
"y": 680, | |
edges: [23,24,26,28,30,31] | |
}, | |
{ // Storm's End | |
"x": 300, | |
"y": 640, | |
edges: [24,27] | |
}, | |
{ // Three Towers | |
"x": 120, | |
"y": 740, | |
edges: [25,26,30] | |
}, | |
{ // Prince's Pass | |
"x": 180, | |
"y": 710, | |
edges: [26,27,29,31,33] | |
}, | |
{ // Yronwood | |
"x": 220, | |
"y": 740, | |
edges: [27,30,32,33,34] | |
}, | |
{ // Sunspear | |
"x": 330, | |
"y": 740, | |
edges: [31,34] | |
}, | |
{ // Starfall | |
"x": 170, | |
"y": 770, | |
edges: [30,31,34] | |
}, | |
{ // Saltshore | |
"x": 270, | |
"y": 760, | |
edges: [31,32,33] | |
}] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's getting there now; the continent is together and the id's are quoted.