-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (79 loc) · 4.38 KB
/
index.html
File metadata and controls
86 lines (79 loc) · 4.38 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./dist/main.bundle.css" />
<link rel="stylesheet" type="text/css" href="./static/style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap" rel="stylesheet">
<style>
.popover{
color: #757575 !important;
max-width: 45%;
}
</style>
<title>Catch the Buckeyes</title>
</head>
<body>
<nav id="navbar" class="navbar navbar-light bg-light">
<a id="brand" class="navbar-brand" href="index.html">Buckeye Catcher<img id="buckeye-logo"
src="./static/buckeye-logo.png" /></a>
<ul class="nav me-auto">
<li class="nav-item">
<div class="container">
<span type="button" class="btn btn-lg btn-success" href="#" id="instructions" data-toggle="popover" title="Instructions" data-html="true" data-content="<div><span class='first_instructs'>
<center>Modify the code to tell the basket how to move.<br><br>
<strong>Actions</strong><br>
<em>moveleft, moveright, stay</em><br>
These actions move the basket in a particular direction ('stay' tells the basket not to move). For example, 'moveleft' moves the basket one space to the left.<br><br>
<strong>Looping</strong><br>
<em>forever, times</em><br>
You can use 'forever' or a number in front of 'times' to run a chunk of code multiple (or infinite!) times. Be sure to write 'end' below the chunk of code.<br><br>
<strong>Conditions</strong><br>
<em>if, true, false</em><br>
Combine 'if' with either 'true' or 'false' to determine if a chunk of code will run or not. For example, any code between 'if false' and 'end' will not run.<br><br>
After writing your code, use the dropdown to select a level - you can start with 1,
or challenge yourself with Final Level! Run your code by clicking the Start button.</center>
</div>">Instructions</span>
</div>
</li>
<li class="nav-item">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" value="1">
Level 1
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<li><a href="#" data-value="1">Level 1</a></li>
<li><a href="#" data-value="2">Level 2</a></li>
<li><a href="#" data-value="3">Level 3</a></li>
<li><a href="#" data-value="4">Level 4</a></li>
<li><a href="#" data-value="5">Level 5</a></li>
<li><a href="#" data-value="6">Level 6</a></li>
</ul>
</div>
</li>
<li class="nav-item"><button id="run" type="button" class="btn btn-lg btn-success">Start!</button></li>
</ul>
</nav>
<div id="flex-container">
<div id="code" class="flex-child">
<textarea id="editor"></textarea>
</div>
<div id="game" class="flex-child"></div>
</div>
<div id="alert-container"></div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script>
$(function () {
$('[data-toggle="popover"]').popover()
})
</script>
<script src="./dist/main.bundle.js"></script>
</body>
</html>