 void sendMove(int player_move){
   //TODO
   // send ("MOVE " + player_move + player_id)
-  return 0;
+  Serial.println("sending move");
 }
 
 

void loop() {
  delay(200);
  
  // ******** Player turn *******
  for (int i = 0; i < 9; i++){
    previousGreenStatus[i] = greenStatus[i];
  }

  
  
  
  // ************************************************************************
  // ******* Rival turn *****************************************************
  // ************************************************************************
  printMsg("Wait for your rival's move.");
  
  // Check rival move, wait until it happens
  waitForMove = true;
  int rival_move = -1;
  while(waitForMove){
    rival_move = getMove();
    // Wait and check again
    if (rival_move < 0){
      delay(100);
    } else{
      waitForMove = false;    
    }
  }  
  // Update color status
  if (rival_move > -1 && rival_move  < 9){
    redStatus[rival_move] = 1;
    squares[rival_move]->setRed();
  }
  
  // Check victory conditions
  redVictory = checkWin(redStatus);
  if (redVictory){
    printMsg("You lose!"); 
    victoryLoop('r');
  }
}

/**********************************************
