public override void PlayLocal()
 {
     localInterface = null;
     ClearAllSquares();
     twoPlayers = true;
     yellowPlayer = new LocalPlayer(PieceColor.YELLOW, null);
     redPlayer = new LocalPlayer(PieceColor.RED, null);
     turn = Turn.LOCAL_YELLOW;
     moveLabel.Text = "";
     turnLabel.Text = "Yellow's turn.";
     NewGameMenuUpdate(true, false, false);
 }
 public override void PlayServer(NetworkInterface comm)
 {
     comm.Disconnected += new OpponentDisconnected(comm_Disconnected);
     localInterface = comm;
     ClearAllSquares();
     twoPlayers = false;
     NetworkPlayer p = new NetworkPlayer(PieceColor.YELLOW);
     yellowPlayer = p;
     redPlayer = new LocalPlayer(PieceColor.RED, comm);
     comm.Handler = new Connect4PacketHandler(p, this);
     turn = Turn.NETWORK_OPPONENT_YELLOW;
     moveLabel.Text = "";
     turnLabel.Text = "Yellow's turn.";
     NewGameMenuUpdate(false, true, true);
 }
 public override void PlayFromSave()
 {
     localInterface = null;
     twoPlayers = true;
     yellowPlayer = new LocalPlayer(PieceColor.YELLOW, null);
     redPlayer = new LocalPlayer(PieceColor.RED, null);
     moveLabel.Text = "";
     turnLabel.Text = (turn == Turn.LOCAL_YELLOW ? "Yellow" : "Red") + "'s turn.";
     NewGameMenuUpdate(true, false, false);
 }