title: How to get console.getkey of 2 users
body: <p>I'm trying to learn F# by making a game, Tron.
  So it's a multiplayer game and I need to have a console key reader for both players. One use ZQSD, the other the arrows.</p>
  
  <pre><code>    let mutable switchb = new pos(-1, 0)
      let mutable switcha = new pos(1, 0)
      let key_info = Console.ReadKey().Key
          if key_info = ConsoleKey.UpArrow then
             switchb.y &lt;- switchb.y - 1
          else if key_info = ConsoleKey.DownArrow then
             switchb.y &lt;- switchb.y + 1
          else if key_info = ConsoleKey.RightArrow then
             switchb.x &lt;- switchb.x + 1
          else if key_info = ConsoleKey.LeftArrow then
             switchb.x &lt;- switchb.x - 1
          if key_info = ConsoleKey.Z then
             switcha.y &lt;- switcha.y - 1
          else if key_info = ConsoleKey.S then
             switcha.y &lt;- switcha.y + 1
          else if key_info = ConsoleKey.D then
             switcha.x &lt;- switcha.x + 1
          else if key_info = ConsoleKey.Q then
             switcha.x &lt;- switcha.x - 1
  </code></pre>
  
  <p>The problem is that I can only have one input by loop round.</p>
  
  <p>Do I need to make a thread which catch the input of a second player ? I don't know what can I do.</p>
  
  <p>Thanks in advance.</p>