Beginning Java Assignment 3

Beginning Java Assignment 3

[Assignment 3]

Brief Guideline (Followings are shortly summarized, so please see details included in the PDF file attached):

1. Modify HW2 attached based on following instructions.

2. The changes from HW2 are: Write a class called MineGrid in which you declare a 2-dim. array of boolean (I’m calling it grid) as a private instance variable. Also declare PUBLIC static final variables for MIN_DIM and MAX_DIM. Include the constructor or instance methods.

3. Write another class called MineGame. In this class, declare the following PRIVATE INSTANCE variables: an int for how many spots to set, and 3 MineGrid (NOT 2-dim. array) one for the user, one for the game, and one for the results (I’m calling them userGrid, gameGrid, and resultsGrid). Include the public instance methods (or constructor).

4. Write another class for main, call it Program3 that is in a separate file and class than MineGrid and MineGame. Declare in main ONE MineGame object variable (I’m calling game here), and 3 ints (one for the row size, one for the column size, and one for how many spots to set), and CHANGE main from HW2.

5. Turn in with SAME input specifications using InputMethods given in the HW2_CodeFile for HW2. The output should be the same format as in HW2.

6. Upload the source files (.java files) and screen output (copied and pasted into the end of the main file, commented out), all zipped in one file.

1. Download the 4 files attached:

(1) ProgHW3-CIS35A-Winter2017.pdf // HW3 Guideline with details

(2) HW2.zip // HW2 that you will need to modify to do HW3

(3) MineGame-MineGrid-picture.pdf // it will help you to grasp a picture of MineGame and MineGrid

(4) HintsForProgHW3.pdf // Hints for HW3

2. Read CAREFULLY “ProgHW3-CIS35A-Winter2017.pdf”, and start working on homework 3.

3. Before submit here, all requirements must meet as in the PDF, so please check again thoroughly.

4. Submit within the given time. (Very Important)


"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper