title: How to program multiplayer elements into a visual basic 2010 Game
body: <p>I just finished programming turn and card logic to the visual basic Game I'm design.</p>
  
  <p>Initially I the user at start up can pick the game size whether it is 2, 3, 4, or a 5 player game.</p>
  
  <p>So I choose 5 player game. When I choose 5 players cards from my deckarray are loaded into each players card array. When they play their card(s) their cards are subtracted from their arrays to the discard array. When deckarray is full, the discard array becomes the new deck, by loading its values into the deck array and turning its values to 0.</p>
  
  <p>Currently each players turn is determined by a Value of a variable I call "T". When a player finishes his turn, then the application screens changes all the check boxes representing the cards into represent the values of the next player's cards. So in essence currently all players share the same form, and are only accessed 1 computer.</p>
  
  <p>Getting down to what I'm asking, how do I implement network code into the program to allow for multiple computers on a network to connect and share the game session, to where when T changes its value, the next player gains control of the screen on "their" computer. For now I'm not going to worry about all the players sharing the same form and seeing the other players cards when it is a respective players turn, I just want to get started on the networking portion.</p>
  
  <p>Currently I'm using visual basic 2010. I've searched for tutorials with no luck.</p>
  
  <p>Hope my question isn't too broad... It is hard to narrow the question concerning a multiplayer game concerning networking.</p>