Computer Science Canada

Turing- Slot Machine

Author:  Zainabh [ Sun Apr 17, 2016 11:49 am ]
Post subject:  Turing- Slot Machine

Hello
I have made a simple turing code for s slot machine but there is a slight problem when I try to display whether or not the player gets a match and wins or not
After some time there is no message being displayed or when the person gets no match there is a message saying that the person wins
Can someone help me please?
Thanks

Author:  Dreadnought [ Sun Apr 17, 2016 8:14 pm ]
Post subject:  Re: Turing- Slot Machine

Zainabh wrote:
when the person gets no match there is a message saying that the person wins

I suggest you have the program display the values of number, number2 and number3 so that you get an idea of what is going on behind the scenes.

Zainabh wrote:
After some time there is no message being displayed

Iif number, number2 and number3 are not all equal, does that imply that none of them can be equal?

Author:  Zainabh [ Mon Apr 18, 2016 4:16 pm ]
Post subject:  RE:Turing- Slot Machine

Nevermind, I got it
Thanks


: