/** * Basic scoreboard driver. Initial version shows the demo. * Students need to update this comment and put their own * code below. * * @author Phil Nico, Kevin O'Gorman * @version 27 February 2003 */ import java.awt.*; public class ScoreBoard { private Board b; /** * Constructor. Pretty basic. */ public ScoreBoard(Board brd){ b = brd; } /** * Draw the board. The initial version is static (in the plain * meaning of the English word: it does not move). */ public void drawDesign(){ // // Put in your design here instead of mine... // b.getCell(0,0).lightsUp(); PLN.demo(b); // demo the drawing abilitite // YOUR CODE HERE... b.updateBoard(); // make all the pending changes current b.drawBoard(); // redraw the board } }