title: Turning Simon Says from "random" into "deterministic"
body: <p>I'm making a Simon Says game, but unlike normal Simon Says games (where random sequences are played), I wish to make the sequences non-random and based on <code>instructions.text</code></p>
  
  <p>So for example: <code>instructions.text</code> could include "Red,Yellow,Red,Green".</p>
  
  <p>And the game will interpret the text into what the sequence will be.</p>
  
  <p>Right now, I have code that makes the sequence random... please could you push me in the right direction as to how I can make this non-random. Thank you in advance.</p>
  
  <pre><code>        public Color [] newSequence (int length)
      {
          Color [] array = new Color[length];
          Random rand = new Random(DateTime.Now.Millisecond);// don't inline w/ colors[] - wont be random
  
          for (int i=0; i&lt;length; i++) {
              array[i] = colors[rand.Next(0,4)];
          }
          this.sequence=array;
          return array;
      }
  </code></pre>