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

Assignmentpersonasas has been outlined there are three

Assignment Personas As has been outlined there are three specific groups who would be considered the core demographic for the users of this site. Sue Smith Age: 35 years old Gender: Female Location: Vancouver, BC Educati ...

Java programmers can use class hierarchies for the purposes

Java programmers can use class hierarchies for the purposes of inheritance. For example, given a Tree class, we could define Conifer and Deciduous sub classes that inherit from the parent Tree class as you can see here: ...

The paris hotels company needs a computer program to track

The Paris Hotels Company needs a computer program to track their hotel occupancy for the hotels in their chain. Write a Java program that calculates the occupancy rate for each floor of a hotel. A hotel's occupancy rate ...

Assignmenta private int data field named volume that

Assignment A private int data field named volume that specifies the volume· Three constants named LOW, MEDIUM and HIGH with values of 1, 2 and 3 to denote the headphone volume. Create a Java class named HeadPhone to repr ...

Assignmentthis assignment will give you a chance to

Assignment This assignment will give you a chance to exercise your knowledge of extending jQuery and of multimedia players like the JWPlayer. We're building on the "divide-text-into-spans" example we started in Homework ...

Java programthis assignment will count as both homework and

Java Program This assignment will count as both homework and lab. Develop a program that will allow the user to display the starting line and the bench for a basketball team. The user will also have the option of swappin ...

Question awhy is it important to avoid the use of reserved

Question A Why is it important to avoid the use of reserved words as you define variables, functions, methods, or identifiers? Do you have any get-arounds to the use of these reserved words that you like to use? (max 80 ...

Create a script that presents a word-guessing game allow

Create a script that presents a word-guessing game. Allow users to guess the word one letter at a time by entering a character in a form. Start by assigning a secret word to a variable. After each guess, print the word u ...

Introduction to programmingjava programming assignment

Introduction to Programming Java Programming Assignment: Objects and Loops Your previous Alice programs implemented the count (for) and while loops. This assignment will apply the same concepts to Java, along with a thir ...

Assignmentthis assignment consists of two sectionsbulljava

Assignment This assignment consists of two sections: • Java program file(s) • A screenshot of the execution and source code of your Java program Label each file name according to the section of the assignment for which i ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen