I need help in writting a method that places a specific color at a specific loca
ID: 3543929 • Letter: I
Question
I need help in writting a method that places a specific color at a specific location, flippling any appropriate pieces of the opposite color
I need help on detemine whether a vaild move exists on the board for a specific color
below is how i have my method
public void PieceLocatiion(int x, int y, char c)
{
if(board[x][y]=='-')
{
board[x][y]=c;
GameFlippingLocation(x,y,c);
}
else
System.out.println("Can't do this");
}
public void GameFlippingLocation(int x, int y, char c)
{
}
Explanation / Answer
Humm check this out . U have any idea of JavaScript if so i can help you on ,, Easy one
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.