title: 2 values in an if statement are not working - Rock Paper Scissors Game C#
body: <p>So I am in a bit of a predicament where I cannot make my if statements work correctly, they display nothing on screen, funnily enough only the top if statement works when the computer and user draw in a rock paper scissors game.</p>
  
  <p>Here is my the code in the method which does not work properly:</p>
  
  <pre><code>         using System;
           using System.Collections.Generic;
           using System.Linq;
           using System.Text;
           using System.Threading.Tasks;
  
           namespace SPSProject
           {
           class Game
           {
      string compChoice;
      string playerChoice;
      string name;
      Random randy;
      public string PAPER;
      public string STONE;
      public string SCISSORS;
  
      static void Main()
      {
          Game myGame = new Game();  // create new Game object
          myGame.play();             // call its play method
      }
      //*******************************************************
      public Game()
      {
          randy = new Random();       // create new Random object
      }
      //*******************************************************
      public void play()
      {
          setupScreen();
          introduction();
          getPlayerChoice();
          getComputerChoice();
          drawPlayerChoice();
          printChoices();
          showResult();
          Console.ReadKey();   // wait for a key press
      }
      //********************************************************
      private void setupScreen()
      {
          Console.Title = " The Great Scissors-Paper-Stone Game";
          Console.SetWindowSize(100, 36);
          Console.SetBufferSize(100, 36);
          Console.BackgroundColor = ConsoleColor.White;
          Console.ForegroundColor = ConsoleColor.Black;
          Console.Clear();  // clear screen in chosen colour
      }
      //********************************************************
      private void introduction()
      {
          Console.WriteLine("\tPlay the Scissors Paper Stone Game");
          Console.WriteLine("\t==================================");
      }
      //********************************************************
      private void getPlayerChoice()
      {
          Console.WriteLine("WHAT IS YOUR NAME?");
          name = Console.ReadLine();
          Console.WriteLine("\n\twhat is your choice" + " " + name + "?");
          Console.Write("\tScissors Paper or Stone : ");
          playerChoice = Console.ReadLine();
          playerChoice = playerChoice.ToUpper();
      }
      //*******************************************************
      private void getComputerChoice()
      {
          int num;
          num = randy.Next(3);  // pick a random number (0, 1 or 2)
  
          if (num == 0)
          {
              compChoice = "SCISSORS";
          }
  
          if (num == 1)
          {
              compChoice = "PAPER";
          }
  
          if (num == 2)
          {
              compChoice = "STONE";
          }
  
      }
      //***************************************************
      private void printChoices()
      {
          Console.WriteLine("\n\t You picked " + playerChoice);
          Console.WriteLine("\tThe computer choice is " + compChoice);
      }
      //***************************************************
      private void showResult()
      {
          if (playerChoice == compChoice)
          {
              Console.WriteLine("\n\tA DRAW!!");
          }
  
          if (playerChoice == PAPER &amp;&amp; compChoice == SCISSORS)
          {
              Console.WriteLine("COMPUTER WINS AS SCISSORS BEATS PAPER");
          }
  
          if (playerChoice == STONE &amp;&amp; compChoice == SCISSORS)
          {
              Console.WriteLine(name + "WINS AS STONE BEATS SCISSORS");
          }
  
          if (playerChoice == SCISSORS &amp;&amp; compChoice == PAPER)
          {
              Console.WriteLine(name + "WINS AS SCISSORS BEATS PAPER");
          }
  
          if (playerChoice == STONE &amp;&amp; compChoice == PAPER)
          {
              Console.WriteLine(name = "WINS AS STONE BEATS PAPER");
          }
  
          if (playerChoice == SCISSORS &amp;&amp; compChoice == STONE)
          {
              Console.WriteLine("COMPUTER WINS AS STONE BEATS SCISSORS");
          }
  
          if (playerChoice == PAPER &amp;&amp; compChoice == STONE)
          {
              Console.WriteLine(name + "WINS AS PAPER BEATS STONE");
          }
  
      }
      //******************************************************
      private void drawPlayerChoice()
      {
          if (playerChoice == "SCISSORS")
          {
              drawScissors(15, 10);
          }
          else if (playerChoice == "PAPER")
          {
              drawPaper(15, 10);
          }
          else if (playerChoice == "STONE")
          {
              drawStone(15, 10);
          }
      }
      //*******************************************************************
      private void drawScissors(int x, int y)
      {
          Console.SetCursorPosition(x, y++);   // set start position then increment y to move down
          Console.Write("     \\            /");
          Console.SetCursorPosition(x, y++);
          Console.Write("      \\          /");
          Console.SetCursorPosition(x, y++);
          Console.Write("       \\        /");
          Console.SetCursorPosition(x, y++);
          Console.Write("        \\      /");
          Console.SetCursorPosition(x, y++);
          Console.Write("         \\    /");
          Console.SetCursorPosition(x, y++);
          Console.Write("          \\  /");
          Console.SetCursorPosition(x, y++);
          Console.Write("           **");
          Console.SetCursorPosition(x, y++);
          Console.Write("          /  \\");
          Console.SetCursorPosition(x, y++);
          Console.Write("    (----/    \\----)");
          Console.SetCursorPosition(x, y++);
          Console.Write("     \\  /      \\  /");
          Console.SetCursorPosition(x, y++);
          Console.Write("      ==        ==");
          Console.WriteLine("\n\n");
      }
      //**************************************************************
      private void drawStone(int x, int y)
      {
          Console.SetCursorPosition(x, y++);   // set start position then increment y to move down
          Console.Write("                 ___---___     ");
          Console.SetCursorPosition(x, y++);
          Console.Write("              .--         --.    ");
          Console.SetCursorPosition(x, y++);
          Console.Write("           ./   ()       .-. \\.   ");
          Console.SetCursorPosition(x, y++);
          Console.Write("           /   o    .   (   )  \\  ");
          Console.SetCursorPosition(x, y++);
          Console.Write("          / .            '-'    \\  ");
          Console.SetCursorPosition(x, y++);
          Console.Write("         /     ()   ()           \\ ");
          Console.SetCursorPosition(x, y++);
          Console.Write("        |    o           ()       | ");
          Console.SetCursorPosition(x, y++);
          Console.Write("        |      .--.           O   | ");
          Console.SetCursorPosition(x, y++);
          Console.Write("         \\ .  |    |              |  ");
          Console.SetCursorPosition(x, y++);
          Console.Write("          \\   `.__.'     o   .   /    ");
          Console.SetCursorPosition(x, y++);
          Console.Write("           `\\  o    ()         /'    ");
          Console.SetCursorPosition(x, y++);
          Console.Write("              `--___    ___--'    ");
          Console.SetCursorPosition(x, y++);
          Console.Write("                     ---         ");
          Console.WriteLine();
      }
      //************************************************************************
      private void drawPaper(int x, int y)
      {
          Console.SetCursorPosition(x, y++);    // set start position then increment y to move down
          Console.Write("      .--.------------------.");
          Console.SetCursorPosition(x, y++);
          Console.Write("     /      \\  \\ \\ \\ \\ \\ \\ \\ \\");
          Console.SetCursorPosition(x, y++);
          Console.Write("    /   OOO  \\                |");
          Console.SetCursorPosition(x, y++);
          Console.Write("   |   OOOO   || A N D R E X | |");
          Console.SetCursorPosition(x, y++);
          Console.Write("   |   OOOO   |                |");
          Console.SetCursorPosition(x, y++);
          Console.Write("    \\   OOO   /                /");
          Console.SetCursorPosition(x, y++);
          Console.Write("     \\      // / / / / / / / //");
          Console.SetCursorPosition(x, y++);
          Console.Write("       `--'-|| | | | | | | | |");
          Console.SetCursorPosition(x, y++);
          Console.Write("             \\                \\");
          Console.SetCursorPosition(x, y++);
          Console.Write("              \\                \\");
          Console.SetCursorPosition(x, y++);
          Console.Write("               \\                \\");
          Console.SetCursorPosition(x, y++);
          Console.Write("                \\ \\ \\ \\ \\ \\ \\ \\ \\\\");
          Console.SetCursorPosition(x, y++);
          Console.Write("                 \\________________\\");
          Console.WriteLine();
      }
      //************************************************************************
      private void drawSmile()
      {
          Console.WriteLine("\n                    .-\"\"\"\"-.-\"\"\"\"-. ");
          Console.WriteLine("               _.'`               `'._   ");
          Console.WriteLine("            .-'  __..,.___.___.,..__  '-.   ");
          Console.WriteLine("           '-.-;` |  |    |    |  | `;-.-'   ");
          Console.WriteLine("            \\'-\\_/\\__|    |    |__/\\_/-'/   ");
          Console.WriteLine("             \\, _     '---'---'     _ ,/   ");
          Console.WriteLine("              \\'./`'.--.--.--,--.'`\\.'/   ");
          Console.WriteLine("               \\ `'-;__|__|__|__;-'` /   ");
          Console.WriteLine("                '.                 .'   ");
          Console.WriteLine("                 `'-....---....-'`    ");
      }
      //*************************************
      private void drawThumbsUp()
      {
          Console.WriteLine();
          Console.WriteLine("       _ ");
          Console.WriteLine("      ( ((  ");
          Console.WriteLine("       \\ =\\   ");
          Console.WriteLine("      __\\_ `-\\   ");
          Console.WriteLine("     (____))(  \\-----  ");
          Console.WriteLine("     (____)) _    ");
          Console.WriteLine("     (____))   ");
          Console.WriteLine("     (____))____/-----  ");
          Console.WriteLine();
      }
      //*************************************
      private void drawThumbsDown()
      {
          Console.WriteLine();
          Console.WriteLine("       ______ ");
          Console.WriteLine("     ((____  \\-----  ");
          Console.WriteLine("     ((_____         ");
          Console.WriteLine("     ((_____      ");
          Console.WriteLine("     ((____   -----   ");
          Console.WriteLine("          /  /    ");
          Console.WriteLine("         (_((     ");
          Console.WriteLine();
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I tried different ways to make the if statements below the 'draw' one to work by getting rid of the two '&amp;&amp;' and using only one. This does nothing by the way, I can not think of any other ways to fix this issue.</p>