summaryrefslogtreecommitdiff
path: root/assets/levels/vertex-coloring/max-edges.xml
blob: 1d6151af2adbc3db771c573c379ded20ece9ead8 (plain)
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
<level title="Create Edges" description="You will receive one point per edge and one point per red vertex." objective="Earn as many points as possible."/>
<global-vertex-protections protect="ad"/>
<colors>
    <color color="#FF0000" name="red" vertex-points="1"/>
    <color color="#00FF00" name="green"/>
    <color color="#0000FF" name="blue"/>
    <color color="#FFFF00" name="yellow"/>
</colors>
<graph>
    <vertex x="250" y="250"/>
    <vertex x="400" y="250"/>
    <vertex x="550" y="250"/>
    <vertex x="250" y="400"/>
    <vertex x="400" y="400"/>
    <vertex x="550" y="400"/>
    <vertex x="250" y="550"/>
    <vertex x="400" y="550"/>
    <vertex x="550" y="550"/>
</graph>
<rules>
    <edge-rule v1="same" v2="same"/>
    
    <edge-rule v1="red"    v2="green"/>
    <edge-rule v1="red"    v2="blue"/>
    <edge-rule v1="yellow" v2="blue"/>
</rules>
<values>
    <var id="points" val="E"/>
    <var id="objective" val="25"/>
</values>