CompSci 18S - Spring 2007 - Design/Sudoku

Classwork 9 (10 pts)

March 26, 2007

The Problem

We will reexamine the Sudoku puzzle, this time thinking about design and implementation. This is also a chance to think about writing a program from scratch and which parts are needed.

A Sudoku puzzle can be stored in a 2-dimensional array of type integer.

int [][] board = new int[9][9];

Your task is to outline a complete program for playing Sudoku puzzles.

  1. List the classes and the purpose of each class.
  2. For each class, list the methods and state. For each method, include paramaters, return value and purpose.
  3. Some things to think about.