-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDomelements.js
More file actions
65 lines (57 loc) · 2.12 KB
/
Domelements.js
File metadata and controls
65 lines (57 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
const nodes={
O0:{circuit:"outer",owner:"none"},
O1:{circuit:"outer",owner:"none"},
O2:{circuit:"outer",owner:"none"},
O3:{circuit:"outer",owner:"none"},
O4:{circuit:"outer",owner:"none"},
O5:{circuit:"outer",owner:"none"},
M0:{circuit:"middle",owner:"none"},
M1:{circuit:"middle",owner:"none"},
M2:{circuit:"middle",owner:"none"},
M3:{circuit:"middle",owner:"none"},
M4:{circuit:"middle",owner:"none"},
M5:{circuit:"middle",owner:"none"},
I0:{circuit:"inner",owner:"none"},
I1:{circuit:"inner",owner:"none"},
I2:{circuit:"inner",owner:"none"},
I3:{circuit:"inner",owner:"none"},
I4:{circuit:"inner",owner:"none"},
I5:{circuit:"inner",owner:"none"}
};
const edges=[
{from:"O0",to:"O1",weight:1,controller:"none"},
{from:"O1",to:"O2",weight:1,controller:"none"},
{from:"O2",to:"O3",weight:3,controller:"none"},
{from:"O3",to:"O4",weight:2,controller:"none"},
{from:"O4",to:"O5",weight:1,controller:"none"},
{from:"O5",to:"O0",weight:2,controller:"none"},
{from:"M0",to:"M1",weight:5,controller:"none"},
{from:"M1",to:"M2",weight:6,controller:"none"},
{from:"M2",to:"M3",weight:4,controller:"none"},
{from:"M3",to:"M4",weight:5,controller:"none"},
{from:"M4",to:"M5",weight:6,controller:"none"},
{from:"M5",to:"M0",weight:4,controller:"none"},
{from:"I0",to:"I1",weight:8,controller:"none"},
{from:"I1",to:"I2",weight:8,controller:"none"},
{from:"I2",to:"I3",weight:9,controller:"none"},
{from:"I3",to:"I4",weight:8,controller:"none"},
{from:"I4",to:"I5",weight:8,controller:"none"},
{from:"I5",to:"I0",weight:9,controller:"none"},
{from:"O1",to:"M1",weight:1,controller:"none"},
{from:"O3",to:"M3",weight:1,controller:"none"},
{from:"O5",to:"M5",weight:1,controller:"none"},
{from:"M0",to:"I0",weight:1,controller:"none"},
{from:"M2",to:"I2",weight:1,controller:"none"},
{from:"M4",to:"I4",weight:1,controller:"none"}
];
const players = {
red: {
remainingTitans: 4,
score: 0,
},
blue: {
remainingTitans: 4,
score: 0,
},
};
export { nodes,edges,players};