+
+
ARCANA
+
Click on the deck
-
-
-
-
diff --git a/main.js b/main.js
index bf285c1..5293899 100644
--- a/main.js
+++ b/main.js
@@ -97,6 +97,11 @@ var random = function() {
return Math.round(Math.random() * (77-cardsDealt));
};
+// create a function to randomly determine if the card will be oriented up or down, if randomOrient returns 0, do nothing. if randomOrient returns 1, rotate the card at a 180 degree angle.
+var randomOrient = function() {
+ return Math.round(Math.random());
+};
+
//create a function to remove a card once it has been used. This is a basic way to avoid duplicates. Implies that to deal we must refresh the page.
var removeCard = function(k) {
for (var j=k; j