-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (97 loc) · 3.89 KB
/
index.html
File metadata and controls
124 lines (97 loc) · 3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<header>
<title> Visulizer </title>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="static/index.css">
<script src="static/main.js"></script>
<script src="static/dijkstras.js" ></script>
<script src="static/Sorting Algorithms/quickSort.js"></script>
<script src="static/Searching Algorithms/binarySearch.js"></script>
<script src="static/Searching Algorithms/linearSearch.js"></script>
<script src="static/Searching Algorithms/jumpSearch.js"></script>
</header>
<body>
<div class="thief-target-selection-container">
<div class="sub-container">
<div class="sub-container-header">
<h2> Please Enter Target for your Theif </h2>
</div>
<div class="sub-container-input">
<h3> Enter Target please :- </h3>
<input type="text" id=''>
</div>
<button onclick="submitTarget()">
Done
</button>
<div class="sub-container-info" >
<img src="Images/info.png" alt="">
<div class="sub-container-info-image"></div>
<div class="sub-container-info-content">
<p> You can choose Whatever number you want. If you choose target which is
not in the thief numbers which you gave just before then <strong>POLICE</strong> won't be able to find
the thieves, but if you do choose number from those numbers then <strong>POLICE</strong> will be
able to catch those thieves
</p>
</div>
</div>
<div class="sub-continer-warning">
<p> Please enter some value! </p>
</div>
</div>
</div>
<button id="visualize" onclick="catchThief()">
Catch the Thief
</button>
<div class="controls">
<div class="thieves-selection">
<div class="thieves-number">
</div>
<div class="thieves-info" onclick="checkForThiefDeploys()">
<img src="Images/tick.png" alt="">
</div>
</div>
<div class="thief">
<h3> Select no of thives </h3>
<div class="thieves-no">
<input type="text" id="thiefPopulation">
</div>
<button onclick="validateNumber()">
Done selecting number of thieves ?
</button>
</div>
<div class="sorting-algorithms">
<div class="algo" onclick="chooseAlgo('QuickSort', 'sorting-algorithms') ">
<h2>Quick Sort</h2>
</div>
<div class="algo" onclick="chooseAlgo('BubbleSort', 'sorting-algorithms') ">
<h2>Bubble Sort</h2>
</div>
<div class="algo" onclick="chooseAlgo('SelectionSort', 'sorting-algorithms') ">
<h2> Selection Sort </h2>
</div>
<div class="algo algo-submit">
<h2> Choose Algorithm for Sorting </h2>
</div>
</div>
<div class="algorithms">
<div class="algo" onclick="chooseAlgo('BinarySearch', 'algorithms') ">
<h2>Binary Search</h2>
</div>
<div class="algo" onclick="chooseAlgo('LinearSerach', 'algorithms') ">
<h2>Linear Search</h2>
</div>
<div class="algo" onclick="chooseAlgo('JumpSearch', 'algorithms') ">
<h2>Jump Search</h2>
</div>
<div class="algo algo-submit">
<h2> Choose Algorithm for searching </h2>
</div>
</div>
</div>
<div id="field"></div>
<script>
</script>
</body>
</html>