Search:

Type: Posts; User: ChristopherLowe

Search: Search took 0.07 seconds.

  1. Re: Let's build tic-tac-toe (noughts and crosses) together...

    @Mr. 777 - pm sent with an apology.

    I have been too lazy to do much, but I have implemented the random bot and the perfect bot. Unfortunately, there is a problem with my algorithm for the...
  2. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Why bother doing anything if it has already been done? Why bother going back to the moon or taking a second look at those fuzzy patches in the telescope? It is not the end result I am interested in...
  3. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Thanks tj - simplicity is what I was going for. Yeah I'm not to great at commenting. Especially when the entire program in only one class and 300LOC.
  4. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Give it a crack 777.

    Looks like this thread has turned into 'show us your tic-tac-toe'. I'm working on my own AI and my game is not nearly as ambitious or complete as Tjstretches. But then that...
  5. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Yeah that's why I asked if you were using 1.7. Didn't realize you could do that with strings. Actually learning a lot more than that looking through your code. The overall server/client structure...
  6. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Quick bug


    Line 201 TTTMainMenu.java
    Incompatible types found java.lang.String expected int

    Fix: replace the switch statement with this:


    if (type.equals("Easy"))
  7. Re: Let's build tic-tac-toe (noughts and crosses) together...

    @TJStretch

    Wow! Great start. I can compile and run two clients and they see each other. When I try and connect either to each other or to themselves it prompts for difficultly then it crashes and...
  8. Re: Let's build tic-tac-toe (noughts and crosses) together...

    @Tjstretch sounds good. I like the idea of a lobby where you can invite players to a game. Perhaps we could also have some sort of scoreboard system (wins/losses). How would you handle the server...
  9. Re: Let's build tic-tac-toe (noughts and crosses) together...

    Any thoughts on repositories / version control? I suggest you get the ball rolling by setting up a public bitbucket repo or a sourceforge project and maybe an IRC channel.

    It has been a while...
Results 1 to 9 of 9