Sixers Dice Project
Version 1.0.1 (1.37 MB) by
Walden Marshall
Code to simulate, analyze, and create figures for simple algorithms to play the dice game "sixers".
num_trajectories.mlx: live script to calculate the total number of possible trajectories
dice_kept_threshold.m, dice_value_threhold.m, roll_sum_threshold: functions that simulate a single round for a single player
create_dice_data.mlx: live script to run many simulations of each algorithm at various parameter values and save .mat files
f_dv_scores.mat, f_dv_scores.mat, f_ts_scores.mat: data I gathered from the simulation of each algorithm
create_figs.mlx: live script to visualize the distributions of the data from the .mat files
data_analysis.mlx: live script with basic analyses of the distributions
Cite As
Walden Marshall (2024). Sixers Dice Project (https://www.mathworks.com/matlabcentral/fileexchange/120133-sixers-dice-project), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.