OKAY RYK, here....
Monday, 7 April 2014
Friday, 4 April 2014
Soo confuzzled
I'm not sure what I'm doing wrong because the values are showing up 8 times. And I'm not sure how to get the insert method or delete method because Ryk is assuming that there is a ".link();" method that exists to find out what that links to.
So I've also found out what was wrong when I initially created it - I created the Mahjong things individually rather than one wall. And I forgot to quadruple all of the other values which means that it was only creating it once.
Anyways, so I've created it :)
Anyways, so I've created it :)
Tuesday, 1 April 2014
EXCITING!
Okay, yeah. This is so exciting because it's actually working!
Here's the output code (from all the tracing statements)
Except that for some reason, it's creating 8 linked lists, so I have to change that bit - but other than that it's good so far! HURRAY!
Here's the output code (from all the tracing statements)
Code
|
Meaning
|
run:
|
|
creating deck...
|
|
shuffling deck...
|
|
34
|
|
Showing the Cards Dealt
|
|
Suit: BValue: 7 Faceup: false
|
Bamboo 7
|
Suit: NValue: 3 Faceup: false
|
Number 3
|
Suit: CValue: 8 Faceup: false
|
Circle 8
|
Suit: BValue: 5 Faceup: false
|
Bamboo 5
|
Suit: CValue: 5 Faceup: false
|
Circle 5
|
Suit: DValue: 2 Faceup: false
|
Direction 2: South
|
Suit: DValue: 1 Faceup: false
|
Direction 1: East
|
Suit: OValue: 1 Faceup: false
|
Other 1: Blank Space
|
Suit: DValue: 4 Faceup: false
|
D4: North
|
Suit: OValue: 3 Faceup: false
|
Other 3: Red Centre
|
Suit: CValue: 4 Faceup: false
|
Circle 4
|
Suit: CValue: 6 Faceup: false
|
Circle 6
|
Suit: BValue: 9 Faceup: false
|
Bamboo 9
|
creating deck...
|
|
shuffling deck...
|
|
34
|
|
Showing the Cards Dealt
|
|
Suit: OValue: 3 Faceup: false
|
Other 3: Red Centre
|
Suit: DValue: 1 Faceup: false
|
Direction 1: East
|
Suit: BValue: 7 Faceup: false
|
Bamboo 7
|
Suit: CValue: 3 Faceup: false
|
Circle 3
|
Suit: CValue: 8 Faceup: false
|
Circle 8
|
Suit: OValue: 2 Faceup: false
|
Other 2: Prosperity
|
Suit: BValue: 5 Faceup: false
|
Bamboo 5
|
Suit: NValue: 8 Faceup: false
|
Number 8
|
Suit: DValue: 4 Faceup: false
|
Direction 4: North
|
Suit: NValue: 6 Faceup: false
|
Number 6
|
Suit: OValue: 1 Faceup: false
|
Other 1: Blank Space
|
Suit: DValue: 3 Faceup: false
|
Direction 3: West
|
Suit: BValue: 6 Faceup: false
|
Bamboo 6
|
creating deck...
|
|
shuffling deck...
|
|
34
|
|
Showing the Cards Dealt
|
|
Suit: NValue: 2 Faceup: false
|
Number 2
|
Suit: BValue: 9 Faceup: false
|
Bamboo 9
|
Suit: DValue: 4 Faceup: false
|
Direction 4: North
|
Suit: CValue: 3 Faceup: false
|
Circle 3
|
Suit: NValue: 6 Faceup: false
|
Number 6
|
Suit: BValue: 7 Faceup: false
|
Bamboo 7
|
Suit: OValue: 1 Faceup: false
|
Other 1: Blank Space
|
Suit: CValue: 6 Faceup: false
|
Circle 6
|
Suit: BValue: 6 Faceup: false
|
Bamboo 6
|
Suit: CValue: 2 Faceup: false
|
Circle 2
|
Suit: NValue: 1 Faceup: false
|
Number 1
|
Suit: OValue: 3 Faceup: false
|
Other 3: Red Centre
|
Suit: CValue: 7 Faceup: false
|
Circle 7
|
Subscribe to:
Posts (Atom)