reformatted the js into two files

This commit is contained in:
patriciarealini 2015-09-23 14:16:36 -07:00
parent 498d861023
commit 958ae620b4

15
deck.js
View File

@ -1,9 +1,14 @@
//Tarot Card App
//MODULE 1: Declarations
//create a 3 layer object:
var deck = new Object ();
//layer 1. card (78)
//layer 2. position (7)
//layer 3. orientation (2)
var deck = {
deck = {
fool: {
thePast: {
up: [],
@ -2315,3 +2320,11 @@ var deck = {
},
},
};
// MODULE 2: Functions
//create a function that prints the string stored in the deck object for the card that is dealt.
// MODULE 3: Execution