title: XCode: Single ViewController going to multiple ViewControllers
body: <p>I have seen a bunch of topics where multiple ViewControllers go to one single ViewController, but not the opposite.</p>
  
  <p>I am making a game where you select a game from Game_select.m and it needs to go out to one of 6 View Controllers. I've tried using storyboard and hardcoding it but neither have worked for me.</p>
  
  <p>I have already imported Game1.h and Game2.h into Game_select.m.
  When I run my code it always goes to Game1 ViewController.
  This is code I am trying:</p>
  
  <pre><code>    if(getGame1) {
      //go to game1
      Game1 *game1 = [[Game1 alloc] init];
          [self.navigationController pushViewController:game1 animated:YES];
      }
  
      if(getGame2) {
      //go to game2
      Game2 *game2 = [[Game2 alloc] init];
          [self.navigationController pushViewController:game2 animated:YES];
      }
  </code></pre>
  
  <p>Thanks for the help in advanced.
  Cheers.</p>