Hello, Can you please give me tips on how should I approach this.


I haven't been taught how to sole this during classes and i'm expected to do all problems like this and i am haing trouble doing these problems
I thought that learning the concept would help but I still lack the intuition. Please give me tips/advice something that can help me solve this.

The problem:
Code:
/**
 * Switch player, i.e. switch the turn to play for the opponent
 *
 * Parameters:
 * rev - Variable to start
 */
void reversi_player_invert (Reversi_t *rev)
{
    SOLVE
}