forked from PythonerAlex/The-Shortcut-Class-Python-3-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEscapeRoom.drawio.html
12 lines (12 loc) · 21.1 KB
/
EscapeRoom.drawio.html
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>diagrams.net</title>
<meta http-equiv="refresh" content="0;URL='https://app.diagrams.net/#HYangbao-Jin%2FThe-Shortcut-Class-Python-3-%2Fmaster%2FEscapeRoom.drawio.html'"/>
<meta charset="utf-8"/>
</head>
<body>
<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{"highlight":"#0000ff","nav":true,"resize":true,"xml":"<mxfile host=\"app.diagrams.net\" modified=\"2022-03-17T16:56:47.246Z\" agent=\"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36\" etag=\"R6tTFIGFD8ieewQSv0Uz\" version=\"17.1.3\" type=\"github\"><diagram id=\"C5RBs43oDa-KdzZeNtuy\" name=\"Page-1\"><mxGraphModel dx=\"1829\" dy=\"1116\" grid=\"1\" gridSize=\"10\" guides=\"1\" tooltips=\"1\" connect=\"1\" arrows=\"1\" fold=\"1\" page=\"1\" pageScale=\"1\" pageWidth=\"827\" pageHeight=\"1169\" math=\"0\" shadow=\"0\"><root><mxCell id=\"WIyWlLk6GJQsqaUBKTNV-0\"/><mxCell id=\"WIyWlLk6GJQsqaUBKTNV-1\" parent=\"WIyWlLk6GJQsqaUBKTNV-0\"/><mxCell id=\"WIyWlLk6GJQsqaUBKTNV-3\" value=\"Start\" style=\"rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" vertex=\"1\"><mxGeometry x=\"625\" y=\"260\" width=\"120\" height=\"40\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-0\" value=\"data structure\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"414\" y=\"90\" width=\"130\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-1\" value=\"&lt;h1&gt;&lt;br&gt;&lt;/h1&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"615\" y=\"470\" width=\"580\" height=\"50\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-2\" value=\"Variables:&lt;br&gt;node:current node&lt;br&gt;&lt;div style=&quot;text-align: left&quot;&gt;&lt;span&gt;i:&amp;nbsp; new node poiinter&lt;/span&gt;&lt;/div&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"434\" y=\"210\" width=\"150\" height=\"50\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-3\" value=\"&lt;pre style=&quot;background-color: #131314 ; color: #ebebeb ; font-family: &amp;quot;jetbrains mono&amp;quot; , monospace ; font-size: 12.0pt&quot;&gt;&lt;span style=&quot;color: #ed864a&quot;&gt;class &lt;/span&gt;&lt;span style=&quot;color: #ffffff&quot;&gt;Node&lt;/span&gt;:&lt;br&gt; &lt;span style=&quot;color: #ed864a&quot;&gt;def &lt;/span&gt;&lt;span style=&quot;color: #b200b2&quot;&gt;__init__&lt;/span&gt;(&lt;span style=&quot;color: #94558d&quot;&gt;self&lt;/span&gt;):&lt;br&gt; &lt;span style=&quot;color: #94558d&quot;&gt;self&lt;/span&gt;.coordination=[]&lt;br&gt; &lt;span style=&quot;color: #94558d&quot;&gt;self&lt;/span&gt;.nextnodelist=[] &lt;span style=&quot;color: #7ec3e6&quot;&gt;# Coordinantion+Takenflag&lt;/span&gt;&lt;/pre&gt;\" style=\"text;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"434\" y=\"100\" width=\"550\" height=\"100\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-23\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-7\" target=\"FYDRvvFL2nCqAh0uWPdQ-8\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-7\" value=\"create node[0]&lt;br&gt;node=node[0]&lt;br&gt;&lt;div style=&quot;text-align: left&quot;&gt;&lt;span&gt;route.push(node)&lt;/span&gt;&lt;/div&gt;\" style=\"rounded=0;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"625\" y=\"330\" width=\"120\" height=\"60\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-8\" value=\"while True:\" style=\"rounded=0;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"625\" y=\"410\" width=\"120\" height=\"60\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-9\" value=\"if node.coordination==[M-1,N-1]\" style=\"rhombus;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"556\" y=\"500\" width=\"260\" height=\"80\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-10\" value=\"print(&quot;Yes!,Escaped&quot;)\" style=\"rounded=1;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"879\" y=\"510\" width=\"120\" height=\"60\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-12\" value=\"Yes\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"816\" y=\"510\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-15\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-9\" target=\"FYDRvvFL2nCqAh0uWPdQ-10\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"865\" y=\"630\" as=\"sourcePoint\"/><mxPoint x=\"915\" y=\"580\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-16\" value=\"No\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"705\" y=\"570\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-18\" value=\"&lt;span style=&quot;color: rgb(0 , 0 , 0) ; font-family: &amp;#34;helvetica&amp;#34; ; font-size: 12px ; font-style: normal ; font-weight: 400 ; letter-spacing: normal ; text-align: center ; text-indent: 0px ; text-transform: none ; word-spacing: 0px ; background-color: rgb(248 , 249 , 250) ; display: inline ; float: none&quot;&gt;if node.coordination==[0,0] and &lt;br&gt;all node.nextnodelist[2]==False&lt;/span&gt;\" style=\"rhombus;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"516\" y=\"610\" width=\"340\" height=\"80\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-19\" value=\"print(&quot;No Escape!&quot;)\" style=\"rounded=1;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"919\" y=\"620\" width=\"120\" height=\"60\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-20\" value=\"Yes\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"856\" y=\"620\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-21\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" target=\"FYDRvvFL2nCqAh0uWPdQ-19\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"856\" y=\"650\" as=\"sourcePoint\"/><mxPoint x=\"955\" y=\"690\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-24\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-8\" target=\"FYDRvvFL2nCqAh0uWPdQ-9\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"865\" y=\"600\" as=\"sourcePoint\"/><mxPoint x=\"915\" y=\"550\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-27\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-9\" target=\"FYDRvvFL2nCqAh0uWPdQ-18\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"805\" y=\"600\" as=\"sourcePoint\"/><mxPoint x=\"915\" y=\"550\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-28\" value=\"No\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"715\" y=\"690\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-29\" value=\"&lt;span style=&quot;color: rgb(0 , 0 , 0) ; font-family: &amp;#34;helvetica&amp;#34; ; font-size: 12px ; font-style: normal ; font-weight: 400 ; letter-spacing: normal ; text-align: center ; text-indent: 0px ; text-transform: none ; word-spacing: 0px ; background-color: rgb(248 , 249 , 250) ; display: inline ; float: none&quot;&gt;if exist node.nextnodelist[index][2]==True&lt;br&gt;&lt;/span&gt;\" style=\"rhombus;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"515\" y=\"710\" width=\"340\" height=\"80\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-31\" value=\"Yes\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"505\" y=\"750\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-32\" value=\"node=route.pop()\" style=\"rounded=0;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"738\" y=\"830\" width=\"230\" height=\"130\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-33\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-18\" target=\"FYDRvvFL2nCqAh0uWPdQ-29\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"955\" y=\"770\" as=\"sourcePoint\"/><mxPoint x=\"695\" y=\"800\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-37\" value=\"No\" style=\"text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"816\" y=\"750\" width=\"60\" height=\"30\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-38\" value=\"\" style=\"edgeStyle=segmentEdgeStyle;endArrow=none;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-29\" target=\"FYDRvvFL2nCqAh0uWPdQ-37\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"855\" y=\"750\" as=\"sourcePoint\"/><mxPoint x=\"870\" y=\"820\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-39\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"WIyWlLk6GJQsqaUBKTNV-3\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"645\" y=\"450\" as=\"sourcePoint\"/><mxPoint x=\"685\" y=\"330\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-48\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"1085\" y=\"1010\" as=\"sourcePoint\"/><mxPoint x=\"1085\" y=\"440\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-49\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" target=\"FYDRvvFL2nCqAh0uWPdQ-8\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"1085\" y=\"440\" as=\"sourcePoint\"/><mxPoint x=\"775\" y=\"410\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-30\" value=\"coord=node.nextnodelist[index][0:2]&lt;br&gt;node.nextnodelist[index][2]=False&lt;br&gt;num=matrix[coord]&lt;br&gt;nxtnodelist=multiplier(num)&lt;br&gt;node=Node()&lt;br&gt;node.coordination=coord&lt;br&gt;node.nextnodelist.append(nxtnodelist)&lt;br&gt;Route.push(node)&lt;br&gt;\" style=\"rounded=0;whiteSpace=wrap;html=1;\" vertex=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry x=\"400\" y=\"820\" width=\"230\" height=\"130\" as=\"geometry\"/></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-52\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-29\" target=\"FYDRvvFL2nCqAh0uWPdQ-30\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"605\" y=\"880\" as=\"sourcePoint\"/><mxPoint x=\"655\" y=\"830\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-54\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.625;exitY=0.026;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-37\" target=\"FYDRvvFL2nCqAh0uWPdQ-32\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"660\" y=\"870\" as=\"sourcePoint\"/><mxPoint x=\"710\" y=\"820\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-55\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-30\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"580\" y=\"1050\" as=\"sourcePoint\"/><mxPoint x=\"515\" y=\"1010\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-58\" value=\"\" style=\"endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\" source=\"FYDRvvFL2nCqAh0uWPdQ-32\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"525\" y=\"960\" as=\"sourcePoint\"/><mxPoint x=\"853\" y=\"1010\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"FYDRvvFL2nCqAh0uWPdQ-60\" value=\"\" style=\"endArrow=none;html=1;rounded=0;\" edge=\"1\" parent=\"WIyWlLk6GJQsqaUBKTNV-1\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"520\" y=\"1010\" as=\"sourcePoint\"/><mxPoint x=\"1085\" y=\"1010\" as=\"targetPoint\"/></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>","toolbar":"pages zoom layers lightbox","page":0}"></div>
<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="https://app.diagrams.net/#HYangbao-Jin%2FThe-Shortcut-Class-Python-3-%2Fmaster%2FEscapeRoom.drawio.html" target="_blank"><img border="0" src="https://app.diagrams.net/images/drawlogo128.png"/></a>
</body>
</html>