YoVDO

The Monty Hall Problem

Offered By: Coding Train via YouTube

Tags

p5.js Courses Javascript Courses Probability Courses Bayes Theorem Courses

Course Description

Overview

Explore the famous Monty Hall Problem through an interactive JavaScript and p5.js coding challenge. Learn how to double your chances of winning by switching doors, and gain a deeper understanding of probability theory. Dive into the code implementation, starting with the basics of centering a DIV and handling callback events. Refactor the code into functions, add statistics tracking, and experience the game firsthand. Discover the connection to Bayes Theorem and enhance your programming skills while unraveling this classic probability puzzle. Access provided p5.js Web Editor sketches, GitHub repository, and demo to further experiment with the concept.

Syllabus

What is the Monty Hall Problem?.
Solution for Monty Hall Problem!.
Starting the Code.
Centering a DIV.
Callback Events.
Refactoring into Functions.
Adding Stats.
Playing the game!.
Bayes Theorem.
Goodbye!.


Taught by

The Coding Train

Related Courses

Introduction to Programming for the Visual Arts with p5.js
University of California, Los Angeles via Kadenze
The Nature of Code
Processing Foundation via Kadenze
Introduction to Computer Programming
University of London International Programmes via Coursera
Türkçe JavaScript Bootcamp
Udemy
The Nature of Code
Coding Train via YouTube