We would like to implement two administrator controlled parameters to the Peeks and Keeps Game. These parameters change how the game works

Switching to Keeps: How many times can players switch between peeking to keeping?

Number of Peeks: How many peeks can a player use in a game?

For example, say the number of fixed peeks is 40. Then at the beginning of the game they player will see this counter:

Now, let’s say a player is at trial 90 in a game where there are 100 trials. If the player has 10 peeks remaining, then he/she must peek for the remaining 10 trials of the game. To show this to the player, the keep buttons should be grayed out and no longer be used.

Note: