Paul Clapham wrote:I think you made things a lot harder for yourself by implementing the array of cells as a one-dimensional array.
Unnar Björnsson wrote:I made this with javascript once, small project that was fun to do. You can take a look at it here it allows you to initialize the board and then press start, stop or reset. Just select view source in the browser to see the code. Since it is javascript that is similar to java syntax wise and since these kind of problem solving are language independent you might get some ideas from it.
Note: This is probably not the best or fastest way to implement this, it was just some pet project of mine I did for fun there is probably something that could be written better, also the code is not commented.
Campbell Ritchie wrote:Welcome to the Ranch again.
If you are that new I would suggest you try something simpler than the beat box exercise at first.