Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

i port java util Public class vurpus Public statie void main (String args Scanne

ID: 3809821 • Letter: I

Question

i port java util Public class vurpus Public statie void main (String args Scanner scan new Scanner (System in) int x a: Ilfor array coordinates 10 int y 0: //for array coordinates //boolean cellu nev Cellt41 [4] //Game board 444 matrix boolean game over false: //For ending the game boolean validnove: //Por if the move is valid String direction. 14 //Generate board Accessor for object cell [11 (random object) system-out printf welcome to Hunt the ha past wnin system some notes before Tou begin System out. system printin "Moves are ease sensitive, must be eapitalised when entering System out printin 1f your re brings out of bounds, you will run into a out-print "Good Luck!hein 3ystem out printf ("You are s while (game over false) validnove false inter Coordinates based en chosen direetion while (validnove false) system out, printf( direction scan next watch (direction) validmetre true valida eve

Explanation / Answer

Make the following changes :

1. Random Fill

Function name that is commented :

2. Function Dashes

public static void squarecondition (int x , int y)