Ok, I have three main tasks.
One: I need to create a 2 dimensional array that is 8x8 and consists of randomly generated numbers that range from 0-3. I'm assuming the Math.random will be used inside of a for loop with a limit set for length(8) and range(0-3) somehow?
Two: This part is multi-pronged but the main thing I need to figure out is how to analyze the array once created. I need to print out if it finds at least 3 consecutive numbers in any row, column, diagonal, or subdiagonal(under a diagonal?). I would use a search but my understanding is that the search inside of an array using a for loop dies once it finds one number. so if the array is 01233323 it will still come up as having found nothing because it will stop on the first 3 ( or it will stop on the first number considering that it will be searching for all of the numbers I have generated).
Third: I need to figure out/learn the solution for this problem. This is homework. I would love to be able to ask you to write my code for me but that would get me nowhere and it would waste your time.
I really want to be able to post the code I have so far but its basically the first lines netbeans generates. I have been all over the page, rewatched my lectures(its recorded), and checked the book. From what I can tell there is no clear solution. Any help would be greatly appreciated.