so you mean i have to check if the x,y already on the board
everytime i call for this function:
before:
public static boolean checkCell(boolean[][] cells, int x, int y) {
if...
Type: Posts; User: sanfor
so you mean i have to check if the x,y already on the board
everytime i call for this function:
before:
public static boolean checkCell(boolean[][] cells, int x, int y) {
if...
i had a home work about whats called "Game of Life"
i had to write 4 functions as i did below:
function 1:
public static boolean isInside(boolean[][] cells, int x, int y) {
if...