Welcome to the Picking Game as Described in Scientific American
There would be an applet here if your browser support java.
source code