private void getComputerChoice() { RPS_Game.GetComputerChoice(); if (RPS_Game.ComputerChoice == RPS_Game.PAPER) { computerPictureBox.Image = global::CO453_Part_B.Properties.Resources.Paper; } else if (RPS_Game.ComputerChoice == RPS_Game.STONE) { computerPictureBox.Image = global::CO453_Part_B.Properties.Resources.Rock; } else if (RPS_Game.ComputerChoice == RPS_Game.SCISSORS) { computerPictureBox.Image = global::CO453_Part_B.Properties.Resources.Scissors; } RPS_Game.WorkoutWinner(); showWinner(); }
public GameUI() { InitializeComponent(); //RPS_Game game = new RPS_Game(); RPS_Game.Start(); }