I show you a shuffled deck of standard playing cards, one card at a time. At any point before I run out of cards, you must say "RED!". If the next card I show is red (i.e. diamonds or hearts), you win. We assume I the "dealer" don't have any control over what the order of cards is.

The question is, what's the best strategy, and what is your probability of winning ?

Red Solution

lib/config.php:156: Notice: Undefined variable: accept

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access