mirror of
https://github.com/MrEidam/PetPet.git
synced 2026-04-17 15:43:31 +00:00
Hotfix with score using arrows
This commit is contained in:
@@ -191,19 +191,23 @@ function hasEmptyTile() {
|
|||||||
function left(){
|
function left(){
|
||||||
slideLeft();
|
slideLeft();
|
||||||
setTwo();
|
setTwo();
|
||||||
|
document.getElementById("score").innerText = score;
|
||||||
}
|
}
|
||||||
|
|
||||||
function up(){
|
function up(){
|
||||||
slideUp();
|
slideUp();
|
||||||
setTwo();
|
setTwo();
|
||||||
|
document.getElementById("score").innerText = score;
|
||||||
}
|
}
|
||||||
|
|
||||||
function down(){
|
function down(){
|
||||||
slideDown();
|
slideDown();
|
||||||
setTwo();
|
setTwo();
|
||||||
|
document.getElementById("score").innerText = score;
|
||||||
}
|
}
|
||||||
|
|
||||||
function right(){
|
function right(){
|
||||||
slideRight();
|
slideRight();
|
||||||
setTwo();
|
setTwo();
|
||||||
|
document.getElementById("score").innerText = score;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user