summaryrefslogtreecommitdiff
path: root/assets/levels/intro/degrees.xml
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2018-08-20 20:34:57 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2018-08-20 20:34:57 -0400
commita4460f6d9453bbd7e584937686449cef3e19f052 (patch)
tree037c208f1e20302ed048c0952ef8e3418add9c86 /assets/levels/intro/degrees.xml
Initial commit0.0.0
Diffstat (limited to 'assets/levels/intro/degrees.xml')
-rw-r--r--assets/levels/intro/degrees.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/levels/intro/degrees.xml b/assets/levels/intro/degrees.xml
new file mode 100644
index 0000000..4e1484e
--- /dev/null
+++ b/assets/levels/intro/degrees.xml
@@ -0,0 +1,13 @@
+<level title="Degrees" description="A vertex's degree is the number of edges which connect to it." objective="Give the vertex a degree of 5."/>
+<global-vertex-protections protect="d"/>
+<colors>
+ <color color="#FF0000" name="red"/>
+</colors>
+<graph>
+ <vertex x="300" y="300" id="v"/>
+</graph>
+<values>
+ <op op="degree" id="d" val1="v"/>
+ <op op="min" id="points" val1="d" val2="5"/>
+ <var id="objective" val="5"/>
+</values>