stupid variable name fix
This commit is contained in:
parent
dc20279d02
commit
95499d7ae6
2 changed files with 4 additions and 4 deletions
4
main.js
4
main.js
|
@ -708,8 +708,8 @@ function append_players_to(n) {
|
||||||
var wins = 0;
|
var wins = 0;
|
||||||
// extraordinarily necessary
|
// extraordinarily necessary
|
||||||
function wins_exclamation_marks() {
|
function wins_exclamation_marks() {
|
||||||
let base_10_log_of_tens = Math.floor(Math.log10(wins));
|
let base_10_log_of_wins = Math.floor(Math.log10(wins));
|
||||||
return base_10_log_of_tens > 0 ? "!".repeat(base_10_log_of_tens) : ".";
|
return base_10_log_of_wins > 0 ? "!".repeat(base_10_log_of_wins) : ".";
|
||||||
}
|
}
|
||||||
var in_game_over = false;
|
var in_game_over = false;
|
||||||
// ERROR: !
|
// ERROR: !
|
||||||
|
|
4
main.ts
4
main.ts
|
@ -859,8 +859,8 @@ function append_players_to(n: Node) {
|
||||||
var wins = 0;
|
var wins = 0;
|
||||||
// extraordinarily necessary
|
// extraordinarily necessary
|
||||||
function wins_exclamation_marks() {
|
function wins_exclamation_marks() {
|
||||||
let base_10_log_of_tens = Math.floor(Math.log10(wins));
|
let base_10_log_of_wins = Math.floor(Math.log10(wins));
|
||||||
return base_10_log_of_tens > 0 ? "!".repeat(base_10_log_of_tens) : ".";
|
return base_10_log_of_wins > 0 ? "!".repeat(base_10_log_of_wins) : ".";
|
||||||
}
|
}
|
||||||
|
|
||||||
var in_game_over = false;
|
var in_game_over = false;
|
||||||
|
|
Loading…
Reference in a new issue