private void butIniciaPartida_Click(object sender, EventArgs e) { //Inicia A partida Jogo.IniciarPartida(Convert.ToInt32(txbIdJogador.Text), txbSenhaJogador.Text); ListarJogadores(); ConsultarMao(); ExibirTabuleiro(); int idPartida = Convert.ToInt32(txbIdPartida.Text); txbVez.Text = Jogo.VerificarVez(idPartida); }
private void button1_Click(object sender, EventArgs e) { txbRef.Text = Jogo.IniciarPartida(Convert.ToInt32(txbIdJogadorInit.Text), txbSenhaJogadorInit.Text); }