Search:

Type: Posts; User: logi

Search: Search took 0.29 seconds.

  1. Re: Replacing an If statement with a Switch statement

    Yes :-) I didn't know that myself. An we actually call TicTacToe "Naughts and Crosses" over here.
  2. Re: Replacing an If statement with a Switch statement

    I understand you now mate. I had never herd of the game "4 wins" before.
    Thanks for the code, I will have a look at it and see if it is something that I would be able to implement.
  3. Re: Replacing an If statement with a Switch statement

    Thanks for the replies guys.
    I did post earlier but it has not appeared on the forum so I will post again.


    noctarius I am not too sure how to implement a recursive search algorithm and I am not...
  4. Re: Replacing an If statement with a Switch statement

    Hi guys thank you both for your replies.

    Noctarius, I am not entirely sure what you mean. I did think that the win algorithm could be improved but I have never heard of a recursive search...
  5. Replacing an If statement with a Switch statement

    Can anyone help me improve my code please?
    I have created this tic-tac-toe applet in university and I have been asked to try and replace some of the if statements with switch statements.

    But I am...
Results 1 to 5 of 5