Risk
Version 1.0.0.0 (1015 Bytes) by
Paul de Wit
Determines if the offensive or defensive dice win for a popular board game.
1.9K Downloads
Updated
15 Mar 2004
No License
Ever played a game named 'Risk' before, if you have, have you ever wondered if it is better to play offensively or defensively, this program finds those probabilities.
Description: Offense has 3 dice, defense has two dice. Dices are rolled take the two highest rolls from the offensive side against the defensive roll. The highest roll from offense against the highest roll from defense, next highest from offense against defenses remaining dice. If the rolls equal defense wins.
Cite As
Paul de Wit (2026). Risk (https://nl.mathworks.com/matlabcentral/fileexchange/4574-risk), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
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 | Grammar errors |
