A Java assignment taken from the course: Software Development Fundamentals
I did not create this assignment. The coded solution is mine. This was a Java practice project which helped me remember how to work with a 2D array.
Create a class called WhackAMole.
It contains three integer instance variables called score
, molesLeft
, and attemptsLeft
. Make one more instance variable called moleGrid
which is a 2-dimensional array of chars.