Difference between revisions of "How would you increase the maximum size of a players hand"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "Increase int maxhandsize;")
 
Line 1: Line 1:
Increase int maxhandsize;
+
You would increase the value for the integer MaxHandSize.
 +
<syntaxhighlight lang="C#">
 +
static void Main(string[] args)
 +
        {
 +
            List<String> AllowedWords = new List<string>();
 +
            Dictionary<Char, int> TileDictionary = new Dictionary<char, int>();
 +
            int MaxHandSize = 20;
 +
  </syntaxhighlight>

Revision as of 12:40, 14 November 2017

You would increase the value for the integer MaxHandSize.

 static void Main(string[] args)
        {
            List<String> AllowedWords = new List<string>();
            Dictionary<Char, int> TileDictionary = new Dictionary<char, int>();
            int MaxHandSize = 20;