Sixers Dice Project

Code to simulate, analyze, and create figures for simple algorithms to play the dice game "sixers".
4 Downloads
Updated 7 Nov 2022

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Added num_trajectories.mlx

1.0.0