the computer does NOT know what the player played. it makes it's decision based on the last thing it played, and whether it won or not.