You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Play the googol game to explore the theory of optimal stopping or use it as a task in your research!
3
-
4
-
In the coming weeks I want to create an application that allows users to play the googol game (also known as secretary problem, marriage problem, and more).
5
-
The googol game demonstrates a scenario involving optimal stopping theory.
6
-
7
-
The basic idea is simple: a set of cards (e.g. 10) each contains a random number between zero and infinity. The cards are shuffled, placed face down in a line, and revealed one at a time. After each reveal, the player must decide whether to stop or continue searching for a higher number. Once a card is passed, the player cannot return to it later. The goal is to stop on the highest number in the deck.
8
-
9
-
My application will allow players to use card sets of different sizes, with values either entered manually or generated randomly.
10
-
The game can be used to explore optimal stopping theory and may also have applications in research or education.
You just finished your workout and it's time to shower. But first — that email you've been putting off all day. Then the dishes, and the floor isn't going to vacuum itself. After all that housework you deserve a little reward, so you sit down to finish your favourite series. By now the sweat has long dried, so it barely matters anyway. And it's late and your roommates are asleep, so it would be rude to shower. And you were planning to work out again tomorrow anyways — so what's the point of showering at all? You could go on like this forever.
10
+
11
+
The question is: **when is the right moment**? To stop and say: now I decide to do it?
12
+
13
+
To take the shower, to take out the trash, or to pick the card with the highest number…
14
+
15
+
The card with the highest number, you ask? The idea comes from Martin Gardner who first described a gambling game called Googol.
16
+
17
+
## What is the Googol Game?
18
+
19
+
The Googol Game demonstrates optimal stopping theory. The rules are simple: Player 1 writes any numbers they like on a set of cards, then turns them face down and shuffles them. Player 2 turns over one card at a time and must decide when to stop — betting that the current card is the highest. Crucially, you cannot go back. If you pass a card, it's gone.
-**Random mode**: the app generates a sequence of numbers across a wide range of scales — from small integers up to Googol-sized values (e.g. "3 Million", "7 Googol").
41
+
-**Manual mode**: enter your own numbers one at a time using a base value and a multiplier (None, Million, Billion, Trillion, Googol).
42
+
- Players can reveal cards one at a time and decide to stop if they think they found the highest number.
43
+
- Win and loss messages are displayed, with an option to play again.
0 commit comments