<<<Index>>>

Software Design and Implementation


  • Idea...
  • Drawing board...
  • Vocabulary...
  • Features...
  • User interface...
  • Components:
    • variables
    • functions
  • Step-by-step approach:
    • incremental steps
    • compile often
    • test small changes
  • Variables:

int card;
int suite;
int deck[ 52 ];
double bank;
int hand[ 6 ];
int score;
struct dealer;
struct player;
//etc... 
  • Functions:

shuffle( deck );
deal( deck, hand );
bet( 1.00 );
hit( player );
stand();
//etc... 

<<<Index>>>