Difference between revisions of "DisplayTilesInHand"
(Created page with "<syntaxhighlight lang="C#"> private static void DisplayTilesInHand(string PlayerTiles) { Console.WriteLine(); Console.WriteLine("Your current h...") |
|||
Line 1: | Line 1: | ||
<syntaxhighlight lang="C#"> | <syntaxhighlight lang="C#"> | ||
+ | |||
private static void DisplayTilesInHand(string PlayerTiles) | private static void DisplayTilesInHand(string PlayerTiles) | ||
{ | { | ||
Line 6: | Line 7: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
The method that displays the tile in a players hand takes the string PlayerTiles and Writes it in the program. | The method that displays the tile in a players hand takes the string PlayerTiles and Writes it in the program. | ||
The player can do this at any time during their turn by pressing "7" on their turn. | The player can do this at any time during their turn by pressing "7" on their turn. |
Revision as of 13:41, 14 November 2017
private static void DisplayTilesInHand(string PlayerTiles)
{
Console.WriteLine();
Console.WriteLine("Your current hand:" + PlayerTiles);
}
The method that displays the tile in a players hand takes the string PlayerTiles and Writes it in the program. The player can do this at any time during their turn by pressing "7" on their turn.