mirror of
https://github.com/Aviortheking/Langton-s-Ant.git
synced 2025-07-03 14:19:17 +00:00
Initial commit
This commit is contained in:
26
index.html
Normal file
26
index.html
Normal file
@ -0,0 +1,26 @@
|
||||
<html dir="ltr" lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="resource://activity-stream/css/activity-stream.css">
|
||||
<style>
|
||||
table, th, td {
|
||||
border: 1px solid black;
|
||||
padding: 15px;
|
||||
}
|
||||
.ant {
|
||||
background: red;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="prgm.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="prgm">
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
prgm = Prgm;
|
||||
AntElement = "test";
|
||||
prgm.init(document.getElementsByClassName("prgm")[0], 10);
|
||||
prgm.Ant.setAt(1,2);
|
||||
</script>
|
||||
</html>
|
Reference in New Issue
Block a user