TheAlgorithms-C/dc/dc5/hangman_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg

88 lines
4.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.0.5 (20230430.1635)
-->
<!-- Title: main Pages: 1 -->
<svg width="147pt" height="156pt"
viewBox="0.00 0.00 146.50 156.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 152.25)">
<title>main</title>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main Function.">
<polygon fill="#999999" stroke="#666666" points="37,-83.25 0,-83.25 0,-64 37,-64 37,-83.25"/>
<text text-anchor="middle" x="18.5" y="-69.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../dc/dc5/hangman_8c.html#a6f5bb35e025e731286ce890c90286d2e" target="_top" xlink:title="checks if letter is in current word">
<polygon fill="white" stroke="#666666" points="130.62,-148.25 80.88,-148.25 80.88,-129 130.62,-129 130.62,-148.25"/>
<text text-anchor="middle" x="105.75" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">in_word</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="#63b8ff" d="M29.63,-83.66C40.01,-93.67 56.88,-109.16 73,-120.62 74.1,-121.41 75.24,-122.19 76.41,-122.96"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.2,-126.33 84.55,-128.58 77.87,-120.36 74.2,-126.33"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../dc/dc5/hangman_8c.html#ad4130a1d1092d32dcfa4a46019e27d45" target="_top" xlink:title="creates a new game &#45; generates a random word and stores in global variable current_word">
<polygon fill="white" stroke="#666666" points="137.38,-111.25 74.12,-111.25 74.12,-92 137.38,-92 137.38,-111.25"/>
<text text-anchor="middle" x="105.75" y="-97.75" font-family="Helvetica,sans-Serif" font-size="10.00">new_game</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="#63b8ff" d="M37.16,-79.43C44.89,-81.96 54.3,-85.06 63.62,-88.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.41,-91.73 73,-91.53 64.6,-85.08 62.41,-91.73"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../dc/dc5/hangman_8c.html#a9611b43141ac2e6ba245487c493599fc" target="_top" xlink:title="checks if letter has been guessed before">
<polygon fill="white" stroke="#666666" points="138.5,-56.25 73,-56.25 73,-37 138.5,-37 138.5,-56.25"/>
<text text-anchor="middle" x="105.75" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">new_guess</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="#63b8ff" d="M37.16,-68.03C44.6,-65.68 53.59,-62.83 62.56,-59.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.5,-63.04 71.98,-56.69 61.39,-56.37 63.5,-63.04"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../dc/dc5/hangman_8c.html#a669e745d87eb1740ab9b1f3b73bb7336" target="_top" xlink:title="checks if player has won or lost">
<polygon fill="white" stroke="#666666" points="122.75,-19.25 88.75,-19.25 88.75,0 122.75,0 122.75,-19.25"/>
<text text-anchor="middle" x="105.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">won</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge5" class="edge">
<title>Node1&#45;&gt;Node5</title>
<path fill="none" stroke="#63b8ff" d="M29.66,-63.83C40.08,-54.05 56.97,-38.9 73,-27.62 74.98,-26.23 77.07,-24.86 79.21,-23.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.71,-26.1 87.55,-18.01 77.16,-20.07 80.71,-26.1"/>
</g>
<!-- Node4&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<title>Node4&#45;&gt;Node4</title>
<path fill="none" stroke="#63b8ff" d="M92.09,-56.54C85.86,-65.15 90.41,-74.25 105.75,-74.25 114.38,-74.25 119.59,-71.37 121.39,-67.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.66,-66.74 119.41,-57.54 117.78,-68.01 124.66,-66.74"/>
</g>
</g>
</svg>