You could use two variables P1score and p2score to keep a runnning tally. Whenever a new card comes just say p1score=p1score+intPoints(2) or whatever. Whenever an ace is drawn, ask the player if they want it worth 1 or 11. Or have a button that lets them change it between 1 and 11 and just set it's value to 1.




Reply With Quote