All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Games
Optimal Card Drawing Strategy (Posted on 2010-09-07) Difficulty: 4 of 5
In this game, you have an infinite deck of cards. Each time you draw a card it's value is a uniformly distributed integer on the interval [0,C]. The game lasts for R rounds. You start the game by drawing a card and adding its value to your running total. At each round you have two choices: 1) draw another card from the deck and add its value to your total 2) add the value of the highest card previously drawn to your total What strategy, based on the constraints R and C, gives you the optimal total at the end of the R rounds?

See The Solution Submitted by Daniel    
Rating: 4.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Sanity check Comment 7 of 7 |
By the way, I was surprised by the result in my solution:  If C = 10 and your high card = 9, only draw if there are 45 or more rounds remaining.

But I checked, and it is right.

A randomly drawn card has an expected value of 5, so drawing instead of counting the 9 figures leads to an expected loss of 4 on this round.  

But it also has one chance in 11 of drawing a 10, which means you gain 1 point on each of the next 44 rounds.  Expected future gain = 44/11 = 4.

So if C = 10 and your high card = 9, draw if more than 45 rounds are remaining, don't draw if less than 45 rounds are remaining, and and if exactly 45 rounds are remaining it is optional, because drawing makes no difference to your expected final score. 

  Posted by Steve Herman on 2010-09-13 01:32:17
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (21)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information