Added money display everywhere + 2048 'makes' money

This commit is contained in:
2024-09-02 00:51:46 +02:00
parent 94038d4f6c
commit c110a916f3
10 changed files with 204 additions and 14 deletions

View File

@@ -9,6 +9,10 @@
<title>2048</title>
</head>
<body>
<article class="cash">
<img src="../money.png" style="height: 1rem;">
<p>Money: <span id="money">0</span></p>
</article>
<h1>Score: <span id="score">0</span></h1>
<div id="board"></div>
<button id="reset" onclick="reset()"></button>