 boolean greenVictory = false;
 
 // hardware initialization
-void setup() {  
-  Serial.begin(9600);
+void setup() {
+  // 0 - Initialize serial comms  
+  Serial.begin(9600); // USB comm for debugging purposes
+  Serial1.begin(9600); // Comm with the base board
+  
   Serial.println("*****************");
   Serial.println("***** Setup *****");
   Serial.println("*****************");
-  // 0 - Initialize board comm
-  Serial.println("Initializing board comm...");
-  Serial1.begin(9600);
+  
   // 1 - Initialize the tictactoe board
   Serial.println("Initializing tictactoe squares...");
   for (int i = 0; i < 9; i++){

  Serial.println("Finding other player...");
  boolean notFound = true;
  while(notFound){
    String res = sendAndWait(MSG_FIND_GAME + SEP_CHAR_COMMANDS  + player_id + END_CHAR);
    String command = getCommand(res);

    // if waiting_for_player -> delay 100
    // if not_registered -> register
    // if rival -> set start_turn, set rival_id, notFound = false
    if (command == CMD_WAIT_FOR_RIVAL){
      Serial.println("-Waiting for rivals...");
      delay(1000);
    } 
    else if (command == CMD_NOT_REGISTERED){ // This shouldn't happen
      Serial.println("-Not registered");
      registerPlayer();
    } 
    else if (command == CMD_RIVAL){
      Serial.println("-Rival found");
      String parameters = getParameters(res);
      rival_id = getParameter(parameters, 1);
      start_turn = getParameter(parameters, 2);
      notFound = false;
    }
  }
}

  Serial.println("*********************");
  Serial.println("***** Game Loop *****");
  Serial.println("*********************");
  Serial.println("-Turn: " + String(turn));
  Serial.println("-Start turn: " + start_turn);
  Serial.println("");
  delay(200);
  boolean waitForMove = true;
