   //If ack -> notReceived = false
   //If wait_for_rival -> delay 1000
   while(notReceived){}
-    String res = sendAndWait(MSG_DO_MOVE + SEP_CHAR + player_id + SEP_CHAR  + player_move +  END_CHAR);
+    String res = sendAndWait(MSG_DO_MOVE + SEP_CHAR_COMMANDS + player_id + SEP_CHAR_PARAMETERS  + player_move +  END_CHAR);
     String command = getCommand(res);
     if (command = CMD_ACK){
       Serial.println("Sent");

 
void registerPlayer(){
  Serial.println("Registering player...");
  sendMsg(MSG_REGISTER + SEP_CHAR + player_id + END_CHAR);
}

void findPlayer(){
  Serial.println("Finding other player...");
  boolean notFound = true;
  while(notFound){
    String res = sendAndWait(MSG_FIND_GAME + SEP_CHAR  + player_id + END_CHAR);
    String command = getCommand(res);
    
    // if waiting_for_player -> delay 100

  int rivalMove = -1;
  
  while(notMove){
    String res = sendAndWait(MSG_GET_MOVE + SEP_CHAR_COMMANDS + player_id + END_CHAR);
    String command = getCommand(res);
    
    //if wait_for_move -> delay 1000
