Search:

Type: Posts; User: noctarius

Search: Search took 0.10 seconds.

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

    Ah I see they called it "connect four" in english :-) Connect Four - Wikipedia, the free encyclopedia
  2. Re: Replacing an If statement with a Switch statement

    i meant the game "4 wins" which has a lot bigger gameboard than tictactoe and then imagine your switch or if-block :-)

    Here's an older recursive winner search algorithm for an "4 wins" game I made...
  3. Re: Replacing an If statement with a Switch statement

    But the bigger the gameboard the bigger the array
  4. Re: Replacing an If statement with a Switch statement

    Have you thought about what your "win-calculation" algorithm would look like if the game has 200 fields (4 wins would be ugly in your way :))? I would suggest to implement a recursive search...
Results 1 to 4 of 4