-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage3.html
More file actions
115 lines (104 loc) · 2.07 KB
/
page3.html
File metadata and controls
115 lines (104 loc) · 2.07 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
<!DOCTYPE html>
<html>
<head>
<title>Epic Abilities!!1!</title>
</head>
<body>
<h1>Karel's Basic Methods</h1>
<p id="main">Here are some of the different things Karel can do:</p>
<table style="width:40%">
<tr>
<th>Method Name</th>
<th>Description</th>
</tr>
<tr>
<td>move();</td>
<td>moves 1 unit forward</td>
</tr>
<tr>
<td>turnLeft();</td>
<td>turns to the left 90 degrees</td>
</tr>
<tr>
<td>pickBeeper();</td>
<td>picks up 1 beeper and puts it in a bag</td>
</tr>
<tr>
<td>putBeeper();</td>
<td>puts down 1 beeper</td>
</tr>
<tr>
<td>turnoff();</td>
<td>shuts off</td>
</tr>
<tr><th>Boolean Tests</th></tr>
<tr>
<td>frontIsClear();</td>
<td>returns true if front is not blocked</td>
</tr>
<tr>
<td>facingNorth();</td>
<td>returns true if facing North</td>
</tr>
<tr>
<td>facingSouth();</td>
<td>returns true if facing South</td>
</tr>
<tr>
<td>facingEast();</td>
<td>returns true if facing East</td>
</tr>
<tr>
<td>facingWest();</td>
<td>returns true if facing West</td>
</tr>
<tr>
<td>nextToABeeper();</td>
<td>returns true if standing on beeper</td>
</tr>
<tr>
<td>nextToARobot();</td>
<td>returns true if standing on another robot</td>
</tr>
<tr>
<td>anyBeepersInBeeperBag();</td>
<td>returns true if there are any beepers in the bag</td>
</tr>
</table>
<p id="links"><a href="index.html">return home</a></p>
<p></p>
<p id="twitch"> p.s. Don't forget to follow Isaac on Twitch at <a href="https://www.twitch.tv/fbm2">twitch.tv/fbm2</a>!!</p>
</body>
</html>
<style>
body {background-color: ivory;}
h1 {
font-family:'Papyrus';
color: blue;
text-align: center;
}
p {
font-family:'Comic Sans MS';
}
tr{
font-family: 'Comic Sans MS';
}
td{
font-family: 'Comic Sans MS';
}
#main{
color: red;
font-size: 20px;
}
#twitch{
color: #C947F5;
font-size: 22px;
}
#links {
font-family:'Papyrus';
font-size: 18px
}
table, th, td {
border: 1px solid black;
}
</style>