Practice with arrays and ArrayList
s in Java, in particular, two-dimensional arrays. Review for exam.
Exam 1 is on Tuesday after break. Review the topics in chapters 1–7 of Big Java and write down at least two questions that you have about the material. We will collect these in-class on Monday after break. While preparing for the exam, recall:
Solo programming: This problem is due on Monday after break. Hopefully you were able to complete it in class before break. (After break, we'll assign work on recursion, which will be due that Thursday, so be sure to make a good start on this problem before break.)
In Eclipse, checkout the TwoDArrays project.
TODO
items in TicTacToe
and TicTacToeTest
.
Pair Programming: Conway’s Game of Life. This is due Thursday after break. It is a pair programming problem, so do not work on it without your partner. In particular, this means that you should not work on it over break. We will have much of the class period on Monday after break for working on this problem.
In Eclipse, checkout the GameOfLife project from your shared repository for this project:
http://svn.csse.rose-hulman.edu/repos/csse220-201120-life-teamXXwhere
XX
is your team number as given by your instructor. If you and your partner always work together doing pair programming, then conflicts should not be a problem. (But be sure to ask for help if you get stuck.)
TODO
items in GameOfLife
and GameOfLifeTest
. The TODO
items are numbered in the order that you should complete them. getGliderList()
in GameOfLifeMain
generates a list representing the classic glider formation.
TODO
items are completed. Remember, in all your code:
Here is the grading rubric for this assignment.
Turn in your programming work by committing it to your SVN repositories.