Oct-15-2019, 12:31 PM
Hi guys,
for some homework I have to write a code for a dice that can't roll the same value back to back.
So: if on turn 1 the dice throws a 3
then on turn 2 the dice CANT roll a 3
but on turn 3 the dice CAN roll a 3 again.
Thanks in advance guys!
for some homework I have to write a code for a dice that can't roll the same value back to back.
So: if on turn 1 the dice throws a 3
then on turn 2 the dice CANT roll a 3
but on turn 3 the dice CAN roll a 3 again.
Thanks in advance guys!