2021-02-19 14:17:22 +08:00
<?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">
2022-12-17 05:41:39 +08:00
<!-- Generated by graphviz version 7.0.2 (20221119.0110)
2021-02-19 14:17:22 +08:00
-->
<!-- Title: main Pages: 1 -->
2022-09-08 08:17:03 +08:00
<svg width= "331pt" height= "326pt"
viewBox="0.00 0.00 331.00 326.00" 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 322)" >
2021-02-19 14:17:22 +08:00
<title > main</title>
<!-- Node1 -->
<g id= "node1" class= "node" >
<title > Node1</title>
<g id= "a_node1" > <a xlink:title= "Main function." >
2022-09-08 08:17:03 +08:00
<polygon fill= "#999999" stroke= "#666666" points= "38,-168 0,-168 0,-149 38,-149 38,-168" />
<text text-anchor= "middle" x= "19" y= "-156" font-family= "Helvetica,sans-Serif" font-size= "10.00" > main</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node2 -->
<g id= "node2" class= "node" >
<title > Node2</title>
<g id= "a_node2" > <a xlink:href= "../../db/de2/naval__battle_8c.html#ab6e31f8df36de67ff967859069ccfc56" target= "_top" xlink:title= "Function calculateScore Responsible for calculating the score obtained during the game." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "165,-318 84,-318 84,-299 165,-299 165,-318" />
<text text-anchor= "middle" x= "124.5" y= "-306" font-family= "Helvetica,sans-Serif" font-size= "10.00" > calculateScore</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node2 -->
<g id= "edge1" class= "edge" >
<title > Node1- > Node2</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M21.27,-168.29C24.92,-192.46 37.58,-255.5 74,-290.5 74.75,-291.22 75.53,-291.91 76.34,-292.58" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "74.26,-295.4 84.56,-297.88 78.05,-289.52 74.26,-295.4" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node3 -->
<g id= "node3" class= "node" >
<title > Node3</title>
<g id= "a_node3" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a59224afd73372b4f52415203e315f6e1" target= "_top" xlink:title= "Function canShoot Responsible to verify that it is a valid position to shoot." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "153.5,-281 95.5,-281 95.5,-262 153.5,-262 153.5,-281" />
<text text-anchor= "middle" x= "124.5" y= "-269" font-family= "Helvetica,sans-Serif" font-size= "10.00" > canShoot</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node3 -->
<g id= "edge2" class= "edge" >
<title > Node1- > Node3</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M23.02,-168.34C29.37,-187.44 45.88,-229.75 74,-253.5 77.23,-256.23 80.91,-258.56 84.76,-260.54" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "83.25,-263.7 93.82,-264.44 86.02,-257.27 83.25,-263.7" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node4 -->
<g id= "node4" class= "node" >
<title > Node4</title>
<g id= "a_node4" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a3f7d3dc5931fba6164e73057859094d9" target= "_top" xlink:title= "Function positionBoat Responsible for placing the boats on the board, according to the size." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "160,-244 89,-244 89,-225 160,-225 160,-244" />
<text text-anchor= "middle" x= "124.5" y= "-232" font-family= "Helvetica,sans-Serif" font-size= "10.00" > positionBoat</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node4 -->
<g id= "edge3" class= "edge" >
<title > Node1- > Node4</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M28.4,-168.28C38.41,-179.51 56.07,-197.99 74,-210.5 78.73,-213.8 83.97,-216.87 89.23,-219.65" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "87.36,-222.63 97.88,-223.92 90.47,-216.35 87.36,-222.63" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node6 -->
<g id= "node6" class= "node" >
<title > Node6</title>
<g id= "a_node6" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a7c5042bd35c4186b06ae28f06635b40e" target= "_top" xlink:title= "for Standard Input Output" >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "323,-206 211,-206 211,-187 323,-187 323,-206" />
<text text-anchor= "middle" x= "267" y= "-194" font-family= "Helvetica,sans-Serif" font-size= "10.00" > validEntryLineColumn</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node6 -->
<g id= "edge13" class= "edge" >
<title > Node1- > Node6</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M38.49,-161.36C72.18,-166.56 145.11,-177.83 199.36,-186.21" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "198.72,-189.65 209.14,-187.72 199.79,-182.73 198.72,-189.65" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node7 -->
<g id= "node7" class= "node" >
<title > Node7</title>
<g id= "a_node7" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a521043b369238e618dcc9364b40448ef" target= "_top" xlink:title= "Function printMessage Responsible for printing the auxiliary message." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "304.5,-131 229.5,-131 229.5,-112 304.5,-112 304.5,-131" />
<text text-anchor= "middle" x= "267" y= "-119" font-family= "Helvetica,sans-Serif" font-size= "10.00" > printMessage</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node7 -->
<g id= "edge6" class= "edge" >
<title > Node1- > Node7</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M38.2,-156.71C67.22,-153.75 125.74,-147.38 175,-139.5 189.04,-137.25 204.22,-134.42 218.08,-131.66" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "218.77,-135.09 227.88,-129.68 217.38,-128.23 218.77,-135.09" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node8 -->
<g id= "node8" class= "node" >
<title > Node8</title>
<g id= "a_node8" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a2d65de2c86c7015d7ca400dfca0f25dc" target= "_top" xlink:title= "Function printMessageScore Responsible for printing the score messages." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "175,-130 74,-130 74,-111 175,-111 175,-130" />
<text text-anchor= "middle" x= "124.5" y= "-118" font-family= "Helvetica,sans-Serif" font-size= "10.00" > printMessageScore</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node8 -->
<g id= "edge7" class= "edge" >
<title > Node1- > Node8</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M38.03,-151.88C51.24,-147.03 69.63,-140.28 85.98,-134.28" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "86.75,-137.72 94.93,-130.99 84.33,-131.15 86.75,-137.72" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node9 -->
<g id= "node9" class= "node" >
<title > Node9</title>
<g id= "a_node9" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a5c84d83e31ca6a320b6ea8081402686a" target= "_top" xlink:title= "Function printPositioning Responsible for printing messages for positioning boats on the board; of pl..." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "166,-93 83,-93 83,-74 166,-74 166,-93" />
<text text-anchor= "middle" x= "124.5" y= "-81" font-family= "Helvetica,sans-Serif" font-size= "10.00" > printPositioning</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node9 -->
<g id= "edge8" class= "edge" >
<title > Node1- > Node9</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M27.37,-148.51C36.91,-136.2 54.63,-115.33 74,-102.5 76.23,-101.02 78.6,-99.63 81.04,-98.33" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "82.4,-101.56 89.96,-94.13 79.42,-95.23 82.4,-101.56" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node10 -->
<g id= "node10" class= "node" >
<title > Node10</title>
<g id= "a_node10" > <a xlink:href= "../../db/de2/naval__battle_8c.html#ad527fa96e729742a231c4535e112526a" target= "_top" xlink:title= "Function printsTray Responsible for printing the visual board for the user." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "154.5,-56 94.5,-56 94.5,-37 154.5,-37 154.5,-56" />
<text text-anchor= "middle" x= "124.5" y= "-44" font-family= "Helvetica,sans-Serif" font-size= "10.00" > printsTray</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node10 -->
<g id= "edge10" class= "edge" >
<title > Node1- > Node10</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M23.05,-148.76C29.45,-129.86 46.05,-88 74,-64.5 77,-61.98 80.37,-59.8 83.92,-57.92" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "85.09,-61.23 92.81,-53.97 82.25,-54.83 85.09,-61.23" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node12 -->
<g id= "node12" class= "node" >
<title > Node12</title>
<g id= "a_node12" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a23e98ed36ca08c1b4bb86c86f48f6e70" target= "_top" xlink:title= "Function shoot Responsible for saying if he hit a boat." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "145,-19 104,-19 104,0 145,0 145,-19" />
<text text-anchor= "middle" x= "124.5" y= "-7" font-family= "Helvetica,sans-Serif" font-size= "10.00" > shoot</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node1->Node12 -->
<g id= "edge12" class= "edge" >
<title > Node1- > Node12</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M21.29,-148.78C24.99,-124.79 37.77,-62.23 74,-27.5 79.28,-22.43 86.11,-18.78 92.98,-16.14" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "93.7,-19.58 102.19,-13.24 91.6,-12.91 93.7,-19.58" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node5 -->
<g id= "node5" class= "node" >
<title > Node5</title>
<g id= "a_node5" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a4a5686c91f144d07eff1c6576303962d" target= "_top" xlink:title= "Function validatePosition Responsible for checking if the position can receive the boat." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "310,-244 224,-244 224,-225 310,-225 310,-244" />
<text text-anchor= "middle" x= "267" y= "-232" font-family= "Helvetica,sans-Serif" font-size= "10.00" > validatePosition</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node4->Node5 -->
<g id= "edge4" class= "edge" >
<title > Node4- > Node5</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M160.23,-234.5C175.96,-234.5 194.92,-234.5 212.41,-234.5" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "212.14,-238 222.14,-234.5 212.14,-231 212.14,-238" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node4->Node6 -->
<g id= "edge5" class= "edge" >
<title > Node4- > Node6</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M160.23,-225.11C177.76,-220.37 199.28,-214.54 218.33,-209.39" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "219.01,-212.83 227.75,-206.84 217.19,-206.08 219.01,-212.83" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node9->Node7 -->
<g id= "edge9" class= "edge" >
<title > Node9- > Node7</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M162.41,-93.48C179.52,-98.11 200.05,-103.66 218.31,-108.6" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "217.3,-111.96 227.87,-111.19 219.13,-105.2 217.3,-111.96" />
2021-02-19 14:17:22 +08:00
</g>
<!-- Node11 -->
<g id= "node11" class= "node" >
<title > Node11</title>
<g id= "a_node11" > <a xlink:href= "../../db/de2/naval__battle_8c.html#a3889e1ee574e03ffdde8804180d57543" target= "_top" xlink:title= "Function printTable Responsible for printing the board." >
2022-09-08 08:17:03 +08:00
<polygon fill= "white" stroke= "#666666" points= "296.5,-56 237.5,-56 237.5,-37 296.5,-37 296.5,-56" />
<text text-anchor= "middle" x= "267" y= "-44" font-family= "Helvetica,sans-Serif" font-size= "10.00" > printTable</text>
2021-02-19 14:17:22 +08:00
</a>
</g>
</g>
<!-- Node10->Node11 -->
<g id= "edge11" class= "edge" >
<title > Node10- > Node11</title>
2022-11-02 14:20:05 +08:00
<path fill= "none" stroke= "#63b8ff" d= "M154.95,-46.5C175.51,-46.5 203.2,-46.5 225.79,-46.5" />
<polygon fill= "#63b8ff" stroke= "#63b8ff" points= "225.55,-50 235.55,-46.5 225.55,-43 225.55,-50" />
2021-02-19 14:17:22 +08:00
</g>
</g>
</svg>