forked from chadpalmer2/javascript_turing_machine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (26 loc) · 1.01 KB
/
Copy pathindex.html
File metadata and controls
30 lines (26 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Turing Machine</title>
<link rel="stylesheet" href="style.css">
<script src="javascripts/class.js" defer></script>
<script src="javascripts/run.js" defer></script>
</head>
<body>
<h1>Turing Machine Simulator</h1>
<form id="turing-form">
<label for="ruleset">Ruleset</label>
<textarea name="ruleset" id="ruleset" cols="40" rows="5" placeholder="Enter your Turing Machine rules"></textarea>
<label for="tape">Tape</label>
<input type="text" id="tape" name="tape" placeholder="Enter the initial tape configuration">
<label for="head">Head Initial Position</label>
<input type="text" id="head" name="head" placeholder="Enter the initial head position">
<button type="submit">Run</button>
</form>
<div class="output" id="output">
<p>Output will be displayed here</p>
</div>
</body>
</html>