Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Games/Tilting_Maze/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<div id="joystick-head"></div>
</div>
<div id="note">
<h3><b>Instructions:</b></h3>
Click the joystick to start!
<p>Move every ball to the center. Ready for hard mode? Press H</p>
</div>
Expand Down
6 changes: 4 additions & 2 deletions Games/Tilting_Maze/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,12 @@ Math.minmax = (value, limit) => {
`;

if (hardMode) {
noteElement.innerHTML = `Click the joystick to start!
noteElement.innerHTML = `<h3><b>Instructions:</b></h3>
Click the joystick to start!
<p>Hard mode, Avoid black holes. Back to easy mode? Press E</p>`;
} else {
noteElement.innerHTML = `Click the joystick to start!
noteElement.innerHTML = `<h3><b>Instructions:</b></h3>
Click the joystick to start!
<p>Move every ball to the center. Ready for hard mode? Press H</p>`;
}
noteElement.style.opacity = 1;
Expand Down
8 changes: 4 additions & 4 deletions Games/Tilting_Maze/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ body {
position: relative;
grid-row: 1 / -1;
grid-column: 1;
width: 350px;
height: 315px;
width: 650px;
height: 615px;
display: flex;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -139,10 +139,10 @@ body {
}

#note {
grid-row: 3;
grid-row: 0;
grid-column: 2;
text-align: center;
font-size: 0.8em;
font-size: 1em;
color: var(--text-color);
transition: opacity 2s;
}
Expand Down