Update Redditlikespacesuit.HTML

This commit is contained in:
Dangrainage 2023-11-09 11:01:38 +01:00 committed by GitHub
parent 46ed992b99
commit d13b003bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,10 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-top: 10px; margin-top: 10px;
font-size: 70px; /* Increased font size for larger buttons */ font-size: 24px;
} }
.control-button { .control-button {
margin: 0 30px; /* Increased margin to make buttons larger */ margin: 0 30px;
cursor: pointer; cursor: pointer;
} }
#score { #score {
@ -30,7 +30,7 @@
<canvas id="gameCanvas" width="600" height="400"></canvas> <canvas id="gameCanvas" width="600" height="400"></canvas>
<div class="controls"> <div class="controls">
<div class="control-button" id="left-arrow">&lt;</div> <div class="control-button" id="left-arrow">&lt;</div>
<div class="control-button" id="shoot-button">!</div> <div class="control-button" id="shoot-button" ontouchstart="shoot()">!</div>
<div class="control-button" id="right-arrow">&gt;</div> <div class="control-button" id="right-arrow">&gt;</div>
</div> </div>
<div id="score">Score: <span id="score-value">0</span> | Highest Score: <span id="highest-score">0</span></div> <div id="score">Score: <span id="score-value">0</span> | Highest Score: <span id="highest-score">0</span></div>