Script Library: 1240 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
tag index: g · game

1 scripts tagged as: [game  ·  monty hall challenge]

Monty Hall Challenge
oneliner-monty-hall.r
 documentation
v:1.0.0
694 bytes
13 Aug 2004
Simulates swapping doors after Monty shows a goat. Result is percentage wins after 100 runs. (MHC: a well-known and often debated probability puzzle involving three doors, two goats, and a car).
author: Sunanda (with tweaks from Romano T, Ryan C, Carl R, and Reichart)