How to make code count boxes?

I am trying to recreate Deal or No Deal on Matlab. I have scrambled the cases so the values of the boxes will be different, however I am trying to make it so at the start of the game when you click a box this becomes 'your box'. Then the rest of the game plays out as normal.
I am struggling to make the code realize that once 'your box' has been picked, it should play the game out as normal. Can anyone help with this?
I have attatched relevant bits of code.
Thanks for your help

Respuestas (0)

Categorías

Más información sobre Just for fun en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Dic. de 2016

Editada:

el 20 de Dic. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by