Results 1 to 6 of 6

Thread: So Confused

  1. #1
    Need Help is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default So Confused

    In my first collegiate CS class and am having some trouble with the latest assignment.

    I need to make a tic-tac-toe board with one "x" and one "o."

    I need to use three non-void methods to create the board, the "x" and the "o."

    I also need to put it on a three button frame. The left button moves the "x" down five pixels and right 5 pixels with each click. The right button moves the "o" up five pixels and to the left 5 pixels with each click. The middle button has no action.

    Here is a link to what it should be: http://www.cs.uwlax.edu/~zheng/CS120...ssignment4.pdf

    Can anyone help?

  2. #2
    Need Help is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    Also should not that I am using BlueJ

  3. #3
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    What exactly do you need help with, have you tried to start this yet? If you have, show us some code and we will be able to help you more

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,534
    Blog Entries
    7
    Rep Power
    20

    Default

    If you have installed the JDK, and I bet you have, look in its installation directory under JDK/demo/applets/TicTacToe. It's a complete game of tic-tac-toe.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    Need Help is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    Need help writing the non-void methods for the board and the "x" and the "o." I have the actions for each button written, and am confident in writing the Driver class and the Container.

  6. #6
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

Similar Threads

  1. Confused :?
    By jESTPHROSTY in forum New To Java
    Replies: 2
    Last Post: 10-17-2010, 07:38 PM
  2. Very confused Plz help!!
    By ratb0y in forum NetBeans
    Replies: 0
    Last Post: 02-14-2009, 04:34 PM
  3. Confused
    By coldfire in forum New To Java
    Replies: 3
    Last Post: 01-13-2009, 01:00 PM
  4. a lot confused
    By vineethraj in forum New To Java
    Replies: 4
    Last Post: 01-18-2008, 12:36 AM
  5. what does it mean:confused:
    By sivasayanth in forum New To Java
    Replies: 2
    Last Post: 01-12-2008, 04:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •