Are you sure that works? It looks to me as though it could use a few more 'else ifs'. Are you implementing Conway's Game Of Life? One sure way to check if your implementation is correct is to set the...
Type: Posts; User: Sean4u
Are you sure that works? It looks to me as though it could use a few more 'else ifs'. Are you implementing Conway's Game Of Life? One sure way to check if your implementation is correct is to set the...
One way to do it would be to catch the ArrayIndexOutOfBoundsException. Another would be to use if statements to test your array indexes before you use them. Yet another would be to replace the...