Not sure if this is really an XNA topic or not.
I have made a very simple higher/lower card game, on my way to making a Shoot/Red Dog game hopefully...
The problem I am having is when asked higher or lower if the next cards are all higher they will all display until the next lower card, where as if the cards are higher/lower/higher/lower/higher the program works as expected.
if (Card1guessed == true)
{
if (Keyboard.GetState().IsKeyDown(Keys.H))
{
if (ShuffledCards.ElementAt(2).Value > ShuffledCards.ElementAt(1).Value)
Card2guessed = true;
}
else if (Keyboard.GetState().IsKeyDown(Keys.L))
{
if (ShuffledCards.ElementAt(2).Value < ShuffledCards.ElementAt(1).Value)
Card2guessed = true;
}
}
I do this for each card except changing the if statement to if((Card1guessed == true) && (Card2guessed == true))...
TIA.




















