1. Lära sig
  2. /
  3. Courses
  4. /
  5. Probability Puzzles in R

Connected

exercise

One round of von Neumann Poker

Let us simulate one round of von Neumann poker, in which each player of two players, A and B, receives a value drawn at random from a uniform distribution.

Here, we will ignore the betting aspect, and just check which player wins.

Instruktioner

100 XP
  • Generate the values for each player, coming from a Uniform distribution.
  • Fill in the condition to check whether player A has won.