You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outcomes[match.data.value.player1choice-1].compares.find((e) =>e.other_gesture_id==match.data.value.player2choice).verb[0] +""+// Gets the verb from player 1 beating player 2
178
+
outcomes[match.data.value.player2choice-1].title.charAt(0).toUpperCase() +// Gets the capitalized name of player 2's option
outcomes[match.data.value.player1choice-1].compares.find((e) =>e.other_gesture_id==match.data.value.player2choice).verb.slice(1).join('');// Puts in any remaining verbs
outcomes[match.data.value.player2choice-1].compares.find((e) =>e.other_gesture_id==match.data.value.player1choice).verb[0] +""+// Gets the verb from player 2 beating player 1
189
+
outcomes[match.data.value.player1choice-1].title.charAt(0).toUpperCase() +// Gets the capitalized name of player 1's option
outcomes[match.data.value.player2choice-1].compares.find((e) =>e.other_gesture_id==match.data.value.player1choice).verb.slice(1).join('');// Puts in any remaining verbs
192
192
} else {
193
193
return"VS."
194
194
}
@@ -255,7 +255,7 @@ onMounted(async () => {
255
255
console.log(2)
256
256
if (opponentPlayerId ==null) {
257
257
// TODO: handle loss, this could also mean worse if they are still in.
258
-
alert("you loose ig")
258
+
alert("You lost (or I couldn't find the match). Please don't press OK if you lost (it will enter a bugged state) but if you are still in, press ok. This screen exists because I didn't have time to make a proper loss screen, nor proper lose logic.")
outcomes[match.player1choice-1].compares.find((e) =>e.other_gesture_id==match.player2choice).verb[0] +""+// Gets the verb from player 1 beating player 2
328
+
outcomes[match.player2choice-1].title.charAt(0).toUpperCase() +// Gets the capitalized name of player 2's option
outcomes[match.player2choice-1].compares.find((e) =>e.other_gesture_id==match.player1choice).verb[0] +""+// Gets the verb from player 2 beating player 1
339
+
outcomes[match.player1choice-1].title.charAt(0).toUpperCase() +// Gets the capitalized name of player 1's option
0 commit comments