/// <summary> /// start the game /// </summary> /// <returns></returns> public bool StartGame() { //shuffle the deck State = BPConstants.GS_ShuffleDeck; //use the deck service to shuffle the carda DeckService ds = new DeckService(); Deck = ds.ShuffleDeck(Deck); //clear the players current hand PlayersList.InitHand(); //deal hands to all the players State = BPConstants.GS_Deal; PlayersList.Deal(ref Deck, BPConstants.FiveCards); State = BPConstants.GS_WaitForDiscard; return(true); }