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?
Also should not that I am using BlueJ
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
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.
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.
What are they supposed to return?