Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 35

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

  1. #1
    Member
    Join Date
    Dec 2011
    Posts
    48
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Let's build tic-tac-toe (noughts and crosses) together...

    This is the most appropriate forum I can find for this, but, although this is not an assignment, I don't know if it will be allowed, so it may get removed and disappear, lol.

    (I would appreciate if a moderator would let me know as soon as possible).

    OK..

    It's gonna be laid back. Ideas will be put forward and discussed. Pieces of the software will be built, tested and integrated bit by bit. As it is my thread, I will drive and hopefully demonstrate the thought processes behind the project.

    Specification. (most basic programming concepts and APIs to be used.)

    GUI (Graphical User Interface) to interact will game.
    1 user vs computer.
    Choice of who starts.
    Computer must never lose (let's be mean).
    If there is a way for the computer to force a win, it must win (or the user may crash the system in a fit of rage).

    OK

    Before we get down to business with the plan, any requirement recommendations?

    Moderators, let me know, please, it this is allowed..

    PHASE: REQUIREMENT DISCUSSION


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,166
    My Mood
    Hungover
    Thanks
    141
    Thanked 597 Times in 512 Posts

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

    As long as this is not a homework assignment, I don't see a problem with it. There is a danger of people using what you come up with to cheat that you should be aware of, but I'm sure this wouldn't be the only potential source. And hopefully a teacher would be able to spot a blatant rip-off.

    That being said, I wish you luck. Getting a team of programmers to cooperate in an organized way is a bit like herding cats- who are all out of their minds on catnip.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Location
    Wales, Bangor & England, Warwickshire
    Posts
    820
    My Mood
    Cynical
    Thanks
    7
    Thanked 104 Times in 90 Posts

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

    Sounds like a little interesting idea, just something a little fun to do


    Quote Originally Posted by KevinWorkman View Post
    That being said, I wish you luck. Getting a team of programmers to cooperate in an organized way is a bit like herding cats- who are all out of their minds on catnip.
    LOL! So true Kevin, so true. I remember when I had to manage 4 Newbies for a project, holy crap was that a challenege But in all seriousness 2by4, keep it real. Keep it firm and lay the law down. Otherwise, you don't stand a chance of getting people to converge on a solution.

    Requirements: Well, a tic-tac-toe logic system isn't exactly complicated And making sure the computer always wins or draws is just easy lol.

    What display element are you looking to use? Plain old Swing, OpenGL?


    Chris
    chris[at]javaprogrammingforums[dot]com

    Prifysgol Bangor University, North Wales

  4. #4
    Member
    Join Date
    Dec 2011
    Posts
    48
    Thanks
    1
    Thanked 1 Time in 1 Post

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

    Damn, I was looking forward to this. The spec is deliberately basic, but there is opportunity to demonstrate the wider interactions: collecting requirements, negotiating and iterating requirements, and yes, teamwork issues...
    I know that there would be cut and thrust and differences of opinion, so thick skins and professional attitude are necessary. But...

    I recently had an argument with a moderator, who asked me to open a new thread. The same moderator then locked that new thread. I have lost the confidence in putting in effort in this thread, which the same moderator may lock if he doesn't get his way in a dispute.

    Please feel free to take over, Freaky Chris, and show me how it can be done without robust but tolerant exchange which can so easily ruffle the feathers of oversensitive folk. I don't want to get half way and then a moderator take personal revenge. :-)

    I am browsing.

    Nice question by the way, I was thinking Swing, but would have been swayed by interest in OpenGL.

  5. #5
    Member Emperor_Xyn's Avatar
    Join Date
    Dec 2011
    Posts
    66
    My Mood
    Devilish
    Thanks
    21
    Thanked 2 Times in 2 Posts

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

    I was looking for something like this.

    Very cool idea, if you want to get a team together of newbies, message me for my Skype or something =p
    Last edited by Emperor_Xyn; December 17th, 2011 at 01:50 PM.

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,166
    My Mood
    Hungover
    Thanks
    141
    Thanked 597 Times in 512 Posts

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

    Quote Originally Posted by 2by4 View Post
    I recently had an argument with a moderator, who asked me to open a new thread. The same moderator then locked that new thread. I have lost the confidence in putting in effort in this thread, which the same moderator may lock if he doesn't get his way in a dispute.
    Feel free to actually use my name. Our initial argument was about whether a Swing Timer must be initialized in its own thread so as to not lock up the gui (it doesn't, but you were telling a confused OP that it does). I informed you of your mistake, and when you didn't believe me, I wrote a program demonstrating it. You then shifted the argument to a personal one about me not seeing things from your perspective, which wasn't true, and even if it was, it would have nothing to do with the original technical argument. Since these are technical forums, not personal ones, I closed the thread as it was degrading into nontechnical personal arguments that had nothing to do with the original point. I'm not being sensitive, I'm not holding grudges, and I didn't want to carry the argument into this thread. This is a technical forum, and I demonstrated that you were technically incorrect, which is fine, but we just don't have the time for personal arguments. Let's get back to work.

    I'd like to see you experiment with getting a group together from these forums to do a project, and I'd bet you'd get a few newbies interested in a project over winter break. But it's up to you.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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 since I did anything with Java but I would be interested in contributing.

    How about we take a delegated approach; split up the work into pieces like game core, view and logic/AI. I probably have enough scrap code lying around to make a reasonable game core to at least get started and I love working on AI but you can forget about me building up the UI or doing any kind of 2P server side stuff (swing makes me angry).

  8. #8
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    I was thinking about making it more of a Server-Client sort of multiplayer connection, so that at the main menu there are a list of people which are online, which gets refreshed from the server. If you click on the button, than you tell your client tells the server to ask for an invitation to the player with the specified difficulty (3x3, 5x5, 7x7 and 10x10), and the player accepts or denies. If he accepts the server sends each of the clients the others InetAddress and removes both of them from the online list, so they don't have to worry about getting an invitation mid-game. IN the game there will be a chat box as well as the game, and I am thinking about adding a friends list as well. When the game ends, they both "log in" to the server, and wait to be invited or invite someone else.

    Other thoughts:
    Because of the invitation kind of this, it would be easy to implement it so that it would be easy to later add different kinds of games, such as Connect Four, Chess, Blackjack (This would be harder because it can be more than two people, so would require a slight design change. This is something that I personally criticize my design thoughts on. However, without multiple server's I can't think of a way to do it. **Begins Brainstorming** Except maybe you a party, which would allow you to play with your friends, except that would not work with 1v1 games....**Ends Brainstroming**.

    These were just my thoughts upon this, all open to constructive criticism

  9. #9
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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 though? Do you have the hardware to spare?

    Some of my own thoughts: I remember playing tic tac toe against my dad. Eventually, it became boring because it was always a draw. Reading up on it the logic is not particularly difficult: link.

     if firstMove play top left
     for each unused square
        calculate friend moves
        if friend == 2 play square (win!)
        calculate block moves
        if block == 2 play square
        if there is one maximum friend+block play square    
        else pick a max at random
        if there are no good choices (imminent draw) play random

    Perhaps we could spice up the plays with a bit of randomness. Say a percentage chance to make a mistake in the friend + block calculation. Or a chance to play the first move differently.

    Also, any thoughts on art? A white square with a red X is boring. What about a theme or style to make it interesting. A little effort on the artistic side would pay off methinks.
    Last edited by ChristopherLowe; December 26th, 2011 at 11:00 PM.

  10. #10
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    I happen to have an available server that could be used, assuming that it doesn't get to extremely popular. (Linux, 1 year old, sole purpose is for this sort of stuff)

    I started coding a little bit, but the ai was still a little difficult to implement. So far I only have a way to check if anyone won yet. I was just making sure all the documentation I made was up-to-date, if you want me to upload it.

    About the GUI:
    I was thinking about a variable length grid of buttons, each with an X or O, but luckily buttons can also use Icons, so maybe we can add that. (I am a terrible artist thought D: ) I was going to implement it so that it would look like (in ASCII characters, not the actual picture)

    |==================|
    |A label, saying something
    |   (Win/Loss maybe?)
    |
    |
    |    The GAME
    |
    |
    | Chat box
    |==================|

    Edit:

    @randomness, I was thinking 85-95% chance of making the correct move for the bot, especially for blocking a win

    Edit 2:
    I've been kind of going at it for a while, but I'm already encountering a few problems, so I can tell some of it will probably be redone, but for now this is what I have. I'm exactly what norm described, a cat on catnip Couldn't resist starting.

    2 Things I know have to be redone

    1: The AI for the bot
    2: How the connecting works... I can't decide how to get it to connect two players together, and the invitation... unless each player constantly has a serversocket open, which I was trying to avoid.
    Also, the server is up and running.


    Also, if I wasn't suppose to start yet, I won't mind restarting.. this one only kind of worked anyway.

    EDIT: Making all links up to date, cant take away attachment though
    TicTacToeSrc0.3.zip
    Attached Files Attached Files
    Last edited by Tjstretch; December 27th, 2011 at 11:21 PM. Reason: Added my attempt

  11. The Following User Says Thank You to Tjstretch For This Useful Post:

    ChristopherLowe (December 27th, 2011)

  12. #11
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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 locks up the JVM. Is the actual game panel functional? I see a TTTBot class. Is there a way to start a game against a bot?

    A couple more questions: What version of java are you running? What IDE? Is there a missing file names.txt

  13. #12
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    I haven't gotten the connecting to work yet, because I can't figure out how to make the invitation to send, it's mostly a design issue. I could either connect directly, which would require the other client to have a serversocket open, or use it through the server, in which the client would have to be constantly checking his socket for some kind of message.

    As for the single player (Against a bot) I am hoping to make it initiate a fight with a bot if you click on your own name.

    I got a few of these on the server after a couple resets, I presume because your client froze:
    java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(SocketInputStream.java:189)
            at java.net.SocketInputStream.read(SocketInputStream.java:121)
            at java.net.SocketInputStream.read(SocketInputStream.java:203)
            at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:337)
            at java.io.DataInputStream.readUTF(DataInputStream.java:589)
            at java.io.DataInputStream.readUTF(DataInputStream.java:564)
            at TicTacToe.Server.TTTServer$ClientHandler.run(TTTServer.java:163)
    Version: 1.7
    IDE: Dr Java
    File: It should create a file named names.txt after the first run. EDIT: I just realized what you're talking about, I had forgotten about that. Yes there is, I suppose it should have a "default" value, I will set that up.

    Edit: It wasn't Norm who said the catnip thing, it was Kevin, my bad!

    The fix for the names file:
    TTTBot.java
    Last edited by Tjstretch; December 27th, 2011 at 01:51 AM.

  14. #13
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    Ok I updated it again, the AI isn't working for some reason, but now you can see what it will look like if you click on your own name on the list. Multiplayer is still not working.


    EDIT: Making all links up to date,
    TicTacToeSrc0.3.zip
    Last edited by Tjstretch; December 27th, 2011 at 11:18 PM.

  15. #14
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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"))
                diff = TTTGame.Difficulty.EASY;
            else if (type.equals("Medium")) 
                diff = TTTGame.Difficulty.MEDIUM;
            else if (type.equals("Hard")) 
                diff = TTTGame.Difficulty.HARD;
            else if (type.equals("Insane")) 
                diff = TTTGame.Difficulty.INSANE;
            else
                diff = TTTGame.Difficulty.EASY;


    Yeah that looks good. Nice code. GUI is nice and clear. Noticed the chat window doesn't scroll. Couldn't quiet follow some of the logic in the win/loss checks. It looks a lot different from the one I was working on.

    Will post what I have in the next few days. I've been doing up a quick console one to nut out the AI. How have found working with a 2D array?

    My approach has been to use an int[8] where 0 = not used, 1 = naughts, 2 = cross. I have a function which checks for win and returns -1 = draw, 0 = still in play, 1 = naughts win, 2 = crosses win. There is another function which returns int[8] containing friend weights and another int[8] for block weights.

    Also, I decided to ask who goes first (player or AI).

  16. The Following User Says Thank You to ChristopherLowe For This Useful Post:

    Tjstretch (December 27th, 2011)

  17. #15
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    Oh the switch statement works in 1.7, but always better to be backwards compatible. Actually that was the only reason I went to 1.7.

    Yeah I tried to do the logic myself and it got a little confusing, and I also had to worry about a variable length grid.

    Cant wait to see what you come up with! If you need a server to host it on (If you use that design, of course its not the only one) just ask. Has to be kn a port greater than 1024 and not 10010-10020

    Asking certainly makes for local palyer.. actually I might steal that idea

    At the array size... I never even thought of doing it like that.
    Last edited by Tjstretch; December 27th, 2011 at 02:57 AM.

  18. #16
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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 looks good. I'm going for the opposite approach though; bottom up. Starting with text display and work up to front-end/server when it's fully debugged. Just finished 2 player, win conditions, etc.

    As for the array. Cannot work out which is the better approach. I don't want to just google an answer cause that would spoil it for me so I think I will stick it out with this kind of array.

  19. #17
    Member Emperor_Xyn's Avatar
    Join Date
    Dec 2011
    Posts
    66
    My Mood
    Devilish
    Thanks
    21
    Thanked 2 Times in 2 Posts

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

    Thanks for the release i'm going to checker out.

  20. #18
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    I think that the multiplayer is working now, updated all the links but here is another one. Had to make the client listen on port 10017 in order to make it work, which made the code a little more complicated and added another private class to the server. Also I made sure that the server's source was in this one. Also, emperor are you giving a shot at tic tac toe as well or just watching? Also, there has to be a better way to do the server, if anyone happens to have any ideas, do tell.
    TicTacToeSrc0.3.zip
    Last edited by Tjstretch; December 28th, 2011 at 12:37 AM.

  21. #19
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

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

    Well, i am too late to jump in here. Can someone tell me, what's going on as it's annoying to read from scratch

  22. #20
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    It's never to late, but pretty much (as far as I can tell) the OP has left, so it kind of went from an organized joint project to a bunch of people doing the same project and sharing the source (correct me if I am wrong). Currently mine is like 75% working, I attempted a top-down development, and based on Christopher's post he is doing bottom-up. Currently I am the only one to release any kind of code.

    My idea is to have a list of online members to choose from, and you can challenge them to a game of tic tac toe at a set difficulty, or you can challenge a bot to play the game instead. However, I haven't quite gotten the AI to work, ( For some reason, it's not placing any sort of piece whatsoever, slightly annoying ), and the source is linked in a few of my posts , including the one before yours.

    You can either give this project a shot (If you feel that it's worth the while) or:
    if(foundThisThreadInteresting)
    {
      watchThread();
    }else
    {
      try
      {
        Thread.sleep(Long.MAX_VALUE);
      }catch(InterruptedException e)
      {
        throw new ChuckNorrisException("World will implode imminently.");
      }
    }

  23. #21
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

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

    What if i handle the AI work? I am interested in collaborating with you guys. As, it seems interesting.
    So, can i start working on AI? If yes, what kind of AI you want me to write for this game?

  24. #22
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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 guy farts and jokes in java so I'd be gunning for an honorable mention if this were a competition.

    Hopefully we can bring something together communally, but for now let's just have fun and share some code.

    Speaking of which. Here is my first effort (see attached). It is mashed together pretty quickly and it is only 2P but I will use this so I can muck around with the AI a little. The more I think about it the more idea's I get. Could combine randomness with optimal choice, could start random and build up a table of non-working choices (so it starts dumb and learns from it's mistake). Could make it cocky or lazy so after it wins a couple in a row and decides to skip a few calculations. Pity TTT is such a crappy game cause I'm having fun.
    Attached Files Attached Files
    Last edited by ChristopherLowe; December 28th, 2011 at 08:24 AM.

  25. The Following User Says Thank You to ChristopherLowe For This Useful Post:

    Tjstretch (December 28th, 2011)

  26. #23
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    If you want to write an AI to assist me, here is my design:

    Abstracter:
    You can not assume a specific size of grid (Must check the length of the grid or
    gameBoard.getDifficulty().getSize()
    You CAN assume that your character is 'O' and the other player is 'X' for now.
    Currently it checks for win in the updateGrid method in the game panel, so I think checking for win is not necessary (?)

    In TTTBot.play():
    There is a already initialized global private gameboard called gameBoard, you can get the 2d character grid by calling gameBoard.getGrid(), to check if a spot is empty, check it against
    gameBoard.isUsed(x, y);
    , and to place a block call
    gameBoard.place(this, x, y);

    Documentation for gameBoard:
    public boolean isUsed(int x,
                 int y)
    Returns:
    if the x, y location has something on it already

    public void place(TTTPlayer player,
             int x,
             int y)
    Attempt to place or move at the specified (x,y) location.
    Parameters:
    player - The player that is playing 
    x - The x location
    y - The y location
    Throws:
    java.lang.IllegalArgumentException - if any arguments are not valid
    Last edited by Tjstretch; December 28th, 2011 at 11:21 AM.

  27. #24
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

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

    Just got the chance to look at christophers program, and it looks pretty cool! I like how the console looks, pretty impressive!
    Also like the simplicity of the program, certainly easier to get the main gist than mine, however you might want to consider using javadoc commenting, because that makes it look much more official, if nothing else

    EDIT So I don't triple post:

    7777 an 85% unbeatable AI (85% chance to block there win, 100% to make a win, or something like that)
    Last edited by Tjstretch; December 28th, 2011 at 07:04 PM.

  28. #25
    Forum VIP
    Join Date
    Jun 2011
    Posts
    270
    My Mood
    Bored
    Thanks
    39
    Thanked 75 Times in 63 Posts
    Blog Entries
    4

    Default 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.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: October 5th, 2011, 07:21 AM
  2. can anyone help me pls to build this program
    By Xhejn in forum Member Introductions
    Replies: 1
    Last Post: May 31st, 2011, 05:05 PM
  3. HELP: how and where was this build?
    By timosilver in forum Object Oriented Programming
    Replies: 1
    Last Post: December 15th, 2010, 10:19 AM
  4. Incremental Build
    By ashwin in forum Java IDEs
    Replies: 0
    Last Post: January 12th, 2010, 05:21 AM
  5. How to build a .car file in Vignette?
    By andrew222 in forum Java Theory & Questions
    Replies: 2
    Last Post: November 22nd, 2009, 03:49 PM