Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Java Expert


Home >> Java

You will be designing a simple Sudoku Game.  The rules of Sudoku can be found on web. The rules are describeed. 

The Data Element

      Integer, value 0 - 9

The Data Structure

A two-dimensional array of Integers.

The Data Manager

            A class that allows the user to start a new game, enter a value, and display all valid values for an entry in the puzzle.  The Data Manager will manipulate the Data Structure. Implement the SudokuBoardManagerInterface interface which has been provided for you.  The file for a new game is in the following format (0's are place holders and are not displayed):

8,0,0,3,0,9,0,0,5

0,0,0,0,2,0,0,0,0

5,0,0,6,0,8,0,0,3

0,7,5,9,0,3,4,6,0

0,0,1,0,0,0,7,0,0

0,3,8,7,0,4,2,5,0

6,0,0,4,0,1,0,0,2

0,0,0,0,9,0,0,0,0

3,0,0,5,0,7,0,0,4

The GUI

o   Display the Sudoku board.  You may use a two-dimensional array of JTextboxes (not enabled), etc.

o   Provide a way for the user to select a new game.  Use the FileChooser to ask the user to select the new game file.

o   Provide a way for the user to see all valid values for a particular entry (row,column) in the puzzle

o   Provide a way for the user enter a value for a particular entry (row, column) in the puzzle.

Exceptions

  • Provide an exception called InputOutOfRangeException if the user puts in an invalid value (1-9) for the row or column.
  • Provide an exception called ValueNotValidException if the user enters an invalid value for this entry (row,column), based on the rules of Sudoku.

Output exs


Attachment:- Assignment_Sudoku.docx

Java, Programming

  • Category:- Java
  • Reference No.:- M913802
  • Price:- $70

Priced at Now at $70, Verified Solution

Have any Question? 


Related Questions in Java

Java- object-oriented and concurrent programmingheres a

Java- Object-Oriented and Concurrent Programming Here's a very quick overview of the projects: 1. Read a data file, create the internal data structure, create a GUI to display the structure, and let the user search the s ...

Student class and driverthis student class will be the data

"Student Class and Driver" This Student Class will be the data that will be used for each of the projects assigned and graded this semester. Your Student Class will consist of: Student Attributes: First Name Last Name ID ...

Java programmingnow that your survey class has been

Java programming Now that your Survey class has been implemented, it is time to implement the SurveyConductor application class. This class uses the Survey class to conduct a survey. First, create pseudocode to develop t ...

1 problem overviewyou have been asked to design and

1 Problem Overview You have been asked to design and implement a training system for company directors. In the best tradition of economics, we shall start by making things up. The training system is intended to show peop ...

As we have discussed in class section 41 of our text

As we have discussed in class, section 4.1 of our text develops a List ADT and then offers two different implementations of it in the classes AList and LList. The ADT is defined in a Java interface file List.java, and bo ...

Pogramming assignmentmickeymouse- x int- y int- size

Programming Assignment MickeyMouse - x : int - y : int - size : int -color: Color + MickeyMouse(): + setLocation (x: int, y: int): void + setSize (size: int): void + setColor(color: Color):void + draw(canvas: Graphics2D) ...

The class below has some errors for each error do the

The class below has some errors. For each error do the following: a) Write the erring section of code and explain what the error is. b) Fix the error (i.e. re-write the code correctly). public class ClassWithErrors { pub ...

Assignmentupload your completed assignment to the

Assignment Upload your completed assignment to the Assignment 2 link on the course home page for marking and tutor feedback. Be sure to complete the final step-click on the Send for Marking button to notify your tutor. P ...

Java programmingyou have been asked by your manager to

Java programming You have been asked by your manager to create a user-friendly application that will present a survey to your customers. The application will compile and analyze the results entered by the survey responde ...

This assignment is based on the principles of clock

This assignment is based on the principles of clock consistency and associated drifts in a distributed system. You have to create a simulation, running on a single machine, of a simple distributed system involving four p ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate