Monday 2-08
Java - Write methods :
xMakesMove(int loc)
yMakesMove(int loc)Create an Amain class that contains only a main method. Create a game and a counter. Write a loop with the following logic:
while the board is not full and x is not a winner and o is not a winner do the following:
show the board
if the counter is odd, x makes a move - get the location from the user.
if the counter is even, o makes a move - get the location from the user.
show the board
APCS - Arrays
Set 1
Set 3 (Questions 1-9, 26-30, 33)Basics 1 - Study Guide
Create an Amain1 class consisting of a main method only. This method will randomly play tic tac toe.
Create an Amain2 class consisting of a main method only. This method will play a user against the computer. The computer will randomly generate its moves.
Create an Amain3 class consisting of a main method only. This method will play a user against a user.
Tuesday
Snow Day !!!
Wednesday
APCS - due midnight tonight
Submit Amain1 class consisting of a main method only. This method will randomly play tic tac toe.
Submit Amain2 class consisting of a main method only. This method will play a user against the computer. The computer will randomly generate its moves.
Submit Amain3 class consisting of a main method only. This method will play a user against a user.
(From Monday) Java - Write methods :
xMakesMove(int loc)
yMakesMove(int loc)Create an Amain class that contains only a main method. Create a game and a counter. Write a loop with the following logic:
Create a new Game and counter.
while the board is not full and x is not a winner and o is not a winner do the following:
show the board.
if the counter is odd, x makes a move - get the location from the user.
if the counter is even, o makes a move - get the location from the user.
show the board.Output the winner.
Java
Submit Amain class - due midnight tonight Received : Kow, New, Hea, Wil, Pol
Write methods : xMakesMove(int loc) , yMakesMove(int loc) : submit Missing : smi
boolean isValidMove(int loc) returns true if the location is empty.
Thursday
Java
Submit Amain class - due midnight tonight Received : Kow, New, Hea, Wil, Pol missing: shi, smi
Both
Add a location key to the game. Before each move a board is output with the location numbers followed by the board so the user can select an appropriate location.
Friday
Work on Tic tac toe game as discussed yesterday
Updated: Friday, February 12, 2010 5:41 AM