Search:

Type: Posts; User: LostAndConfused

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    747

    Re: Game of life counter not working

    This is the error:
    "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8
    at Life.neighbors(Life.java:51)
    at Life.main(Life.java:29)"

    The matrix is determined by the user...
  2. Replies
    3
    Views
    747

    Game of life counter not working

    I'm running into an issue where my method that should count neighbors gets an array out of bounds error. I have tried a couple of things to fix it, but they've all failed. Any suggestions? :confused:...
Results 1 to 2 of 2