Translate to English

This commit is contained in:
Andras Schmelczer 2022-09-26 17:28:20 +02:00
parent 92d0669304
commit 7825fad30a
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 9 additions and 8 deletions

View file

@ -71,7 +71,7 @@ class Game {
new Circle(
[
Math.random() > 0.5 ? -10 : 1.05 * canvasHandler.width,
Math.random() * canvasHandler.height
Math.random() * canvasHandler.height,
],
"#F15156",
canvasHandler.unitToPx(0.0001),
@ -108,7 +108,7 @@ class Game {
}
showEndScreen() {
document.getElementById("endText").style.display = "block";
document.getElementById("endScore").innerHTML = `Pontszámod: ${this.score}`;
document.getElementById("endScore").innerHTML = `Your score: ${this.score}`;
this.menuBox.display = "flex";
this.isActive = false;
}