% Würfelwahrscheinlichkeiten
A=zeros(101);

for i=1:101
    for j= 1:6
        A(i,min(i+j,101))=1/6;
    end
end
% Spiegeln am Ende
A(101,:)=zeros(1,101);
A(101,101)=1;
A(100,101)=1/6;
A(100,100)=1/6;
A(100,99)=1/6;
A(100,98)=1/6;
A(100,97)=1/6;
A(100,96)=1/6;
A(99,:)=zeros(1,101);;
A(99,101)=1/6;
A(99,100)=2/6;
A(99,99)=1/6;
A(99,98)=1/6;
A(99,97)=1/6;

A(97,:)=zeros(1,101);;
A(97,101)=1/6;
A(97,100)=2/6;
A(97,99)=2/6;
A(97,98)=1/6;

% Snakes and Ladders

A(33,:)=zeros(1,101);;
A(33,11)=1;
A(37,:)=zeros(1,101);;
A(37,7)=1;
A(49,:)=zeros(1,101);;
A(49,27)=1;
A(63,:)=zeros(1,101);;
A(63,19)=1;
A(89,:)=zeros(1,101);;
A(89,25)=1;
A(96,:)=zeros(1,101);;
A(96,57)=1;
A(98,:)=zeros(1,101);;
A(98,79)=1;


A(2,:)=zeros(1,101);;
A(2,39)=1;
A(5,:)=zeros(1,101);;
A(5,15)=1;
A(9,:)=zeros(1,101);;
A(9,31)=1;
A(22,:)=zeros(1,101);;
A(22,43)=1;
A(29,:)=zeros(1,101);;
A(29,77)=1;
A(51,:)=zeros(1,101);;
A(51,68)=1;
A(72,:)=zeros(1,101);;
A(72,93)=1;
A(81,:)=zeros(1,101);;
A(81,100)=1;

A=A';
