A counting device.
This device should have as manual input: number of decks played (52 cards per deck)
Numeric up-down boxes for A,10-2.
It should substract 1 for A and 10, and should add 1 for 2,3,4,5,6. (this number i will call X)
There should be one output box (TrueCount) = X / Nr. of decks left.
In excel I can make this, no problem. But C#.. leaves me guessing. Can anyone lead me in the right direction?
*Forgot to mention a reset button :)
jeweet ochPosted Sep 16, 2010, 2:38 PM
So RunnigCount = What's the current count. (-1 for A,10 ; +1 for 2,3,4,5,6).
TrueCount = (total remaining cards / 52) / RunningCount.
Felipe RamosPosted Sep 16, 2010, 11:09 AM
jeweet ochPosted Sep 15, 2010, 3:01 PM
However, I am not able to input anything in the console. The idea is to input something (for example add 3 to *card10* it should add 3 to the count; add 5 to *card3* it should decrease the count with 5). I can't explain it right I'm afraid. So I added a copy of a possible design.
And again; thanks for the efford, it is appreciated by a C# noob like me..
Felipe RamosPosted Sep 15, 2010, 9:28 AM
jeweet ochPosted Sep 15, 2010, 8:57 AM
Felipe RamosPosted Sep 15, 2010, 8:29 AM