Major rework of basic game code - pre-work for multiplayer

Includes automatic generation of required HTML elements and better responsiveness
This commit is contained in:
Marcel
2019-07-18 11:49:06 +02:00
committed by KingOfDog
parent 544b988a9b
commit 06a2e582fd
14 changed files with 627 additions and 357 deletions

70
lang.json Normal file
View File

@@ -0,0 +1,70 @@
{
"en": {
"button": {
"play": "Play!",
"reset": "Reset",
"resume": "Resume"
},
"controls": {
"down": "Accelerate falling",
"hold": "Hold",
"left": "Move left",
"pause": "Pause",
"right": "Move right",
"tLeft": "Rotate to the left",
"tRight": "Rotate to the right"
},
"counter": {
"score": "Score: ",
"time": "Time: "
},
"theme": {
"default": "Default",
"clean": "Clean",
"modern": "Modern",
"retro": "Retro",
"snakes": "Snakes"
},
"title": {
"appearance": "Appearance",
"controls": "Controls",
"game": "Tetris.js",
"language": "Language",
"paused": "Paused"
}
},
"de": {
"button": {
"play": "Spielen!",
"reset": "Zurücksetzen",
"resume": "Fortsetzen"
},
"controls": {
"down": "Fallen beschleunigen",
"hold": "Halten",
"left": "Nach links bewegen",
"pause": "Pausieren",
"right": "Nach rechts bewegen",
"tLeft": "Nach rechts drehen",
"tRight": "Nach links drehen"
},
"counter": {
"score": "Punkte: ",
"time": "Zeit: "
},
"theme": {
"default": "Standard",
"clean": "Lückenlos",
"modern": "Futuristisch",
"retro": "Retro",
"snakes": "Schlangen"
},
"title": {
"appearance": "Erscheinungsbild",
"controls": "Steuerung",
"game": "Tetris.js",
"language": "Sprache",
"paused": "Pausiert"
}
}
}