12-13-2009 11:27 AM
hello again
well i have a program related to logic that i have dificulty in doing where I have to make statment A true for a turn (one cycle that is statement B is false) then it is false for the next(that is satement B is true) when all the turns are over then one of the other statemnts is true
sorry this is non sense
lets say that I want to make a statment to indicate that it is "Shrek's turn to play" where all the statments appear in one string
I want to make another to indicate that it is "donkey's turn to play"
When the game is over, one of the other statments is going to pop up in place of the upper two
*statment "Shrek rules" that indicates that donkey crushed
*statment "Donkey rules" that indicates that shrek was crushed
*statement "Losers" that both were crushed(neither ruled)
Thank you very much
I have tried to use case structure but it did not work because when the game finished, it apeared that as if the game was still on (if it was shrek's turn and
shrek "ruled", the statment "donkey's turn to play appears"
thank you very much
merci
12-13-2009 12:26 PM
I'm not at all sure what you want but it sounds like you need to wire the Boolean to a shift register and wire in an Invert function so that it changes from iteration to iteration.
Post your code so someone can see where you are having a problem.
12-13-2009 03:03 PM
thank very much but I was thinking and I solved the problem I should have thought about it before I asked sorry but thank you
merci