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.
Paul de Wit (2022). Risk (https://www.mathworks.com/matlabcentral/fileexchange/4574-risk), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!