Dots and Boxes Game 2005


In a moment, an applet window will pop up to play the game! Your browser is ignoring the <APPLET> tag!

This program was written as an Intermediate Programming project:

Programming and design: Erik Skirkanich, Kurt Clausen, Sangu Delle, Mr. Corica

Key ideas:


Use of classes to represent aggregate information (Coordinates, Bar)

Use of an ArrayList to represent an large group of objects (Bars in GameBoard)

Use of a two-dimensional array (cell ownership in GameBoard)

Interclass communication and separation of logic from interface (GameBoardDisplay GameBoard)



Graphical output

Animation through repaint().

Mouse interaction

March 5, 2005