Rock Paper Scissors Bayesian Network Learner
Version 1.0.0.0 (10.3 KB) by
Qingyang Chen
Use of a Bayesian network to predict the player in rock-paper-scissors based on previous patterns.
Run rockpaperscissors.m to play. Since most people tend to have a pattern when playing rock-paper-scissors, obvious or not, the AI will be able to recognize any patterns and make predictions that carry probabilitistic weights greater than 33% after a few rounds.
Cite As
Qingyang Chen (2026). Rock Paper Scissors Bayesian Network Learner (https://nl.mathworks.com/matlabcentral/fileexchange/42642-rock-paper-scissors-bayesian-network-learner), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
