Motobiker
Member
Как такое возможно?
terminal:
Код:
void Game::Start(int i)
{
player_ID = i;
Serial.println("start, player ID - " + String(player_ID));
init_game_flag = false;
ns[1] = num_shots_1;
ns[2] = num_shots_2;
ns[3] = num_shots_3;
ns[4] = num_shots_4;
ns[5] = num_shots_5;
ns[6] = num_shots_6;
ns[7] = num_shots_7;
ns[8] = num_shots_8;
Serial.println("start, player ID - " + String(player_ID));
}
start, player ID - 1
start, player ID - 0