Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote