Skip to content

Commit

Permalink
Added world currencies
Browse files Browse the repository at this point in the history
This also makes #17 a lot less important.
  • Loading branch information
AhoyLemon committed Jan 2, 2021
1 parent 3b84027 commit d23ab8b
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 4 deletions.
42 changes: 40 additions & 2 deletions js/partials/_challenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ const challenges = [
id: 5,
name: "European Countries",
nameAsRule: "Your password must be a country in Europe",
hint: "Not including the United Kingdom",
failedMessage: "Sorry! [PASS] is not a European Country.",
possible: [
"ALBANIA",
Expand Down Expand Up @@ -236,7 +237,6 @@ const challenges = [
"SWITZERLAND",
"TURKEY",
"UKRAINE",
"UNITED KINGDOM",
"VATICAN CITY"
]
},
Expand Down Expand Up @@ -3105,7 +3105,7 @@ const challenges = [
],
},
{
id: 43,
id: 44,
name: "Smash Bros.",
nameAsRule: "Your password must be a playable character in Super Smash Bros.",
hint: "Not including DLC",
Expand Down Expand Up @@ -3188,6 +3188,44 @@ const challenges = [
"ZELDA",
"ZERO SUIT SAMUS"
]
},

{
id: 45,
name: "World Currencies",
nameAsRule: "Your password must be a form of currency traded on the foreign exhange market",
hint: "Currency name only",
failedMessage: "[PASS] isn't a form of world currency",
possible: [
"DOLLAR",
"EURO",
"YEN",
"POUND",
// "POUND STERLING",
"FRANC",
"RENMINBI",
"YUAN",
"KRONA",
"WON",
"KRONE",
"PESO",
"RUPEE",
"RUBLE",
"RAND",
"LIRA",
"REAL",
"ZLOTY",
"BAHT",
"RUPIAH",
"FORINT",
"KORUNA",
"SHEKEL",
// "NEW SHEKEL",
"DIRHAM",
"RIYAL",
"RINGGIT",
"LEU"
]
}

];
2 changes: 2 additions & 0 deletions js/partials/_sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ socket.on("passwordCracked", function(msg) {

// Some player (could be anyone) said the game is over.
socket.on("gameOver", function() {

// TODO: Try to get this to only fire once per game. Similar to the nextRound bug.
console.log("GAME OVER ⚰️");
app.setGameOver();
});
2 changes: 1 addition & 1 deletion public/js/min/site.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/min/site.min.js.map

Large diffs are not rendered by default.

0 comments on commit d23ab8b

Please sign in to comment.