2048
This commit is contained in:
parent
e811051f4d
commit
665a15b6c2
9
2048.js
9
2048.js
@ -1,11 +1,4 @@
|
|||||||
/* 2048.js - Full version with sounds, vibration, stable grid rendering
|
|
||||||
Requirements:
|
|
||||||
- Place <script src="2048.js"></script> just BEFORE </body>
|
|
||||||
- Put audio files in same folder (or adjust paths):
|
|
||||||
- bgmusic.mp3
|
|
||||||
- pop.mp3
|
|
||||||
- merge.wav
|
|
||||||
*/
|
|
||||||
|
|
||||||
let board = [];
|
let board = [];
|
||||||
let score = 0;
|
let score = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user