DisplayTilesInHand

From TRCCompSci - AQA Computer Science
Revision as of 14:58, 14 November 2017 by Joe Emery (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
private static void DisplayTilesInHand(string PlayerTiles)
        {
            Console.WriteLine();
            Console.WriteLine("Your current hand:" + PlayerTiles);
        }

The method that displays the tiles in a players hand takes the string PlayerTiles and writes it to the console. The player can do this at any time during their turn by pressing "7" on their turn.