Results 1 to 6 of 6
Thread: So Confused
- 03-04-2011, 05:35 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
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?
- 03-04-2011, 05:38 PM #2
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
Also should not that I am using BlueJ
- 03-04-2011, 05:42 PM #3
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
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
- 03-04-2011, 05:51 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
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,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 03-04-2011, 05:55 PM #5
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
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.
- 03-04-2011, 06:18 PM #6
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Similar Threads
-
Confused :?
By jESTPHROSTY in forum New To JavaReplies: 2Last Post: 10-17-2010, 07:38 PM -
Very confused Plz help!!
By ratb0y in forum NetBeansReplies: 0Last Post: 02-14-2009, 04:34 PM -
Confused
By coldfire in forum New To JavaReplies: 3Last Post: 01-13-2009, 01:00 PM -
a lot confused
By vineethraj in forum New To JavaReplies: 4Last Post: 01-18-2008, 12:36 AM -
what does it mean:confused:
By sivasayanth in forum New To JavaReplies: 2Last Post: 01-12-2008, 04:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks