-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (47 loc) · 1.21 KB
/
index.html
File metadata and controls
49 lines (47 loc) · 1.21 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
<!DOCTYPE html>
<html>
<head>
<title>Turing Machine</title>
<meta charset="UTF-8">
<meta name="description" content="Free Web Turing Machine Javascript Implementation">
<meta name="keywords" content="HTML,CSS,JavaScript">
<meta name="author" content="Filipe Fernandes">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
td, th {
border: 1px solid black;
padding: 5px;
}
table {
border-collapse: collapse;
}
</style>
</head>
<body>
<h1>Turing Machine</h1>
<table id="result-table" style="text-align: left;">
<tr>
<th>Current State</th>
<th>Scanned Type</th>
<th>Write Symbol</th>
<th>Move Tape</th>
<th>Next State</th>
<th>Tape</th>
</tr>
</table>
<!-- load dependencies -->
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="lib/turingmachine.js"></script>
<script type="text/javascript" src="lib/main.js"></script>
<script type="text/javascript">
$(document).ready(function() {
turingMachine.init();
runner.run();
});
</script>
</body>
</html>