highscore

This commit is contained in:
Adrien MALINGREY 2023-04-29 22:14:38 +02:00
parent 8f96053440
commit 6fc00d50ab

View File

@ -142,13 +142,16 @@
</div>
<div class="card">
<table id="statsTable" class="table mb-0">
<tr><th>Score</th> <td id="scoreCell">0</td> </tr>
<tr><th>Meilleur</th> <td id="highScoreCell">
<script>document.write(Number(localStorage["highScore"]) || 0)</script>
</td></tr>
<tr><th>Niveau</th> <td id="levelCell">0</td> </tr>
<tr><th>But</th> <td id="goalCell">0</td> </tr>
<tr><th>Temps</th> <td id="timeCell">00:00</td> </tr>
<tr><th>Score</th> <td id="scoreCell">0</td> </tr>
<tr>
<th>Meilleur<br/>score</th>
<td id="highScoreCell">
<script>document.write(Number(localStorage["highScore"]) || 0)</script>
</td>
</tr>
<tr><th>Niveau</th><td id="levelCell">0</td> </tr>
<tr><th>But</th> <td id="goalCell">0</td> </tr>
<tr><th>Temps</th> <td id="timeCell">00:00</td> </tr>
</table>
</div>
</div>