Skip to content

Commit

Permalink
Tried to add instructions to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-242 committed Apr 16, 2024
1 parent 80655ae commit 7e871fd
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,23 @@

<div id="Instructions">
<div class="text-center">
<p><b> Goal: </b> You are the robber. You're job is to STEAL the jewel</p>
<p><b> Instructions: </b> Use the code box to code movements left, right, up and down to move your robber.</p>
<div style="display: flex;">
<div style="flex: 1;">
<h3 style="padding: 0px; margin: 0px;"><b>Instructions:</b></h3>
<div style="background-color: lightgrey; margin-bottom: 10px; margin-left: 10px; border-radius: 10px; padding: 5px;">
<p style="padding-top: 0px;">Use the code box to code movements left, right, up, and down to move your robber and steal the jewel!</p>
<p>Type <b>'moveRight()'</b> to move to the right, <b>'moveLeft()'</b> to move to the left, <b>'moveDown()'</b> to move down, and <b>'moveUp()'</b> to move up.</p>
</div>
</div>
<div style="flex: 1;">
<h3 style="padding: 0px; margin: 0px;"><b> Tips:</b></h3>
<div style="background-color: lightgrey; margin-left: 10px; margin-right: 10px; border-radius: 10px; padding: 5px; ">
<p style="padding-top: 10px;"><b>Tip:</b> Use loops to decrease the amount of code you have to write!</p>
<p>Use loop syntax: [#times ... end] with # being a number.</p>
<p><b>Tip:</b> Click 'Toggle Arrow Keys' to be able to use your arrow keys.</p>
</div>
</div>
</div>
<button id="respawn" type="button" class="btn btn-danger">Respawn</button>
&nbsp;
<button id="nextLevel" type="button" class="btn btn-success">Next Level</button>
Expand Down

0 comments on commit 7e871fd

Please sign in to comment.