Hi,
I am a high school senior and have just started learning how to program (in java) on my own. I want to be able to create a version of Conway's Game of Life but since I stopped short of learning about GUIs in java, I think I would have to create a text-based version...I'm not quite sure how to go about doing so, though, so I was wondering if anyone had any ideas. I know that I will be creating a 2-D array, but my problem is I don't know how to generate a pattern in the array (i've seen the game of life on a grid, which i don't know how to implement as of yet) and I don't know how to create a method of determining how many neighbors each cell has.
(For those unfamiliar with the Game of Life a brief description and an applet with the actual game (I think I would create an application though, not an applet, since I don't know any HTML)is at the site: www.math.com/students/wonders/life/life.html)
Any help you could provide would be greatly appreciated. Thanks again.