
For example idea of arcade game is - go straight and kill them all




What is the idea of this kind of game - what do you have to do to win in it - what do you do for loseing. And how do you want it to work ?
for(int slideY= 0, slideX=0; // I want 2 variables to decided how far to move for a new column or row
slideY < this.board.length, slideX < this.board.length; // basically this ends when Y or X gets to max length
slideY = slideY + slideMoveY, slideX = slideMoveX;){ adds to slideY or slide X based on values given in program.
}
//checks to make sure the values never pop up twice in a line.
for(int i = 0; i < this.board.length; i = i+1){
for (int j = 0; j < this.board[i].length; j = j+1){
if(arrayY[this.board[i][j] - 1] == true){// checks to see if the locations value, minues 1 is true.
error(this, "value already placed");
break;
}// if statement to make sure no 2 values are equal.
}// end J Loop
}// ends I Loop
}// ends axisCheck_Y
Users browsing this forum: No registered users