Closed markedwardmurray closed 9 years ago
Iceboxing for now and Mark will close when he's done with the issue
don't use description
, same as OOP-Cards-Model
convert NSNumber properties to primitives
we should provide the logic for scoring the hand, there are always a few students who have never played Blackjack before
should not rely on overriding a setter/getter (removing from curriculum). Rewrite the tests and instructions to NOT depend on this logical structure.
tests that detect method calls are redundant. the build will fail if the specified methods are absent
problem paradigm: the drawing a card should pull the first card. to randomize this, a different method called shuffleDeck
should be written and called upon each new game. when playing blackjack, you don't deal from a random place in the middle of the deck, you randomize all of the cards and then deal from the top. The implementation should match the problem.
remove code from AppDelegate: boilerplate and manual test code inside application:didFinishLaunchingWithOptions:
convert from NSNumber
don't use ivars
remove validation stuff
see what Tom makes of OOP-Cards-Model
Improve clarity of instructions, edit for parallel style.
Point out that
setHand:
should recalculate the handscore.Warn that
_ivar
should not be used outside initializers and setters/getters.