LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default card dealing

Hi, I hoping somebody may have worked, or may have an idea on how to
work on this idea. Not expecting an answer but though Id throw the
question out here.
Ok. Im dealind cards. The games baccarat. All Im doing is if the banker
has a 3 (could be any card though) and te player has a 4 (again
anycard really), is with excel dealing all possibilities for the player
to go on and win. In a1 I put players card, b1 = bankers card. So a2
starts 4A, B2 = 3A. Then can a2 beat b2 yes/no. Then b2 = 32, question,
33 question etc al the way to 3kk (max 3 cards). then a2 changes to 42
and it all starts again. As you can imagine this can take a good 20
secs to run on low cards. I realise its a difficult question to ask but
can this be speeeded up. Im thinking that rather than adding the cards
to a range before asking the question Id put them into an array. At the
momment I deal cards one at a time because it alternates player/dealer
upto 3 cards. Im using select case to make the questioning easier, and
ive got screen updating set to false. Any ideas appreciated.
Regards Robert

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dealing with #VALUE! Maracay Excel Discussion (Misc queries) 3 February 10th 09 03:35 PM
dealing with time Rhydderch Excel Worksheet Functions 5 January 12th 09 11:37 PM
On template Bus. Card How to make one Card into all 10 cards George, Bus. Cards Setting up and Configuration of Excel 1 March 7th 06 08:09 PM
dealing with a projection Larry Holt Charts and Charting in Excel 0 February 15th 06 04:03 PM
Dealing with pop-ups Jasons Excel Programming 1 November 7th 04 07:43 PM


All times are GMT +1. The time now is 03:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"