PewPew!
+
{{$t(randomTip)}}
v-{{version}}
🔫️
-
+
🔫️
{{$t("trademark")}}
@@ -69,6 +70,7 @@ export default {
lobbyName: '',
isInLobby: false,
onlinePlayers: 0,
+ randomTip: '',
}),
computed: {
noLobbyAvailable() {
@@ -145,6 +147,7 @@ export default {
},
},
mounted() {
+ this.randomTip = `tip_${1+Math.floor(Math.random() * 6)}`
if (localStorage.getItem('username'))
this.username = localStorage.getItem('username')
else {
@@ -168,4 +171,20 @@ export default {
font-size: 20pt;
}
}
+#tip {
+ animation-name: zoom;
+ animation-duration: 2s;
+ animation-iteration-count: infinite;
+}
+@keyframes zoom {
+ 0% {
+ transform: scale(1);
+ }
+ 50% {
+ transform: scale(0.95);
+ }
+ 100% {
+ transform: scale(1);
+ }
+}
diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json
index c736cd8..980f7c1 100644
--- a/frontend/src/i18n/en.json
+++ b/frontend/src/i18n/en.json
@@ -1,5 +1,11 @@
{
"trademark": "Bang! is a trademark owned by DVGiochi",
+ "tip_1": "Better with friends!",
+ "tip_2": "The 🤖️ icon means that a player is a bot!",
+ "tip_3": "You can click on the cards of characters and equipments of the other players if you wish to know more!",
+ "tip_4": "Dodge City, High Noon, Fistful Of Cards included!",
+ "tip_5": "Found a bug? Message us on discord!",
+ "tip_6": "Now with a discord server!",
"online_players": "Online players: ",
"choose_username": "Pick an username:",
"available_lobbies": "Available Lobbies:",
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index 0d32f4b..cb82655 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -1,5 +1,11 @@
{
"trademark": "Bang! è un marchio registrato DVGiochi",
+ "tip_1": "Con gli amici è meglio!",
+ "tip_2": "Il simbolo 🤖️ vuol dire che il giocatore è un bot!",
+ "tip_3": "Puoi cliccare sulle carte dei personaggi o equipaggiamento degli altri per vedere cosa fanno!",
+ "tip_4": "Dodge City, High Noon, Fistful Of Cards inclusi!",
+ "tip_5": "Se trovi un bug comunicacelo su discord!",
+ "tip_6": "Adesso con un server discord!",
"online_players": "Giocatori online: ",
"choose_username": "Scegli un username:",
"available_lobbies": "Stanze disponibili:",