Provide a design for the problem. Which architectural style suits the problem?
Identification of patterns
In this exercise, we want you to implement a simple Sudoku game. Sudoku should fulfill
the following requirements:
- Sudoku displays a 9x9 grid of cells that are either blank or contain a number
- The grid is divided into subsections called boxes, each having 3x3 cells
- Sudoku provides a partially completed grid at the beginning of the game
- The user can input numbers into empty fields
- When a user specifies input for an empty field, a check should be done
whether the input is valid (a number from 1 to 9).
- It shall be equally checked, if the input is allowed (not already contained in line,
column or box).
- If those checks return false, the input is erased and the user can try again
- At the end of the game, the user can inquire, whether the solution is correct.
- The Sudoku puzzle that the user shall solve is specified via command-line
arguments
We have implemented a Sudoku solver for you, to provide you with code for solving a
Sudoku puzzle.
As you have to check the user?s solution at the end of the game you have to
be able to solve the puzzle. Implement 3 strategies.
1. Strategy: Stub
2. Strategy: Lookup table
3. Strategy: Sudoku solver.
Do research on technologies that are similar to CORBA and also address the
location transparency and platform independence design goals.
Refine the class diagram of Model View Controller shown in the Exercise to
include the composite pattern.
For assignment one, you can refine the class diagram you developed in Exercise 1. But
remember it should show the system design. For assignment 2, please deliver an
implementation of the Sudoku game in a language of your choice. Send us the source
code as well as a binary.
For assignment 3, a list of technologies is sufficient.
You might also like to view...
Which of the following is NOT a problem of working with flat files in PHP?
a. Searching for a particular record is difficult b. When a file becomes small, working with it can be very slow c. Dealing with concurrent access can become problematic d. All file processing is sequential
Given the command java MyClass test, the first command-line argument is ____________.
Fill in the blank(s) with the appropriate word(s).
Restricting access to the ________ requires the user to use the user interface you have developed
A) Navigation Pane B) navigation form C) startup form D) command buttons
In a business letter, the inside address is the address of the recipient
Indicate whether the statement is true or false