diff options
Diffstat (limited to 'assets/levels/intro/degrees.xml')
-rw-r--r-- | assets/levels/intro/degrees.xml | 13 |
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> |