reformatted the js into two files

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

17
deck.js
View File

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