This was one of the first games that I made with Java. I used a for loop to generate random numbers for the player and the computer. The computer and the player have ten turns to generate numbers. Whoever generates the highest numbers overall wins the game. A message is displayed who won and the turns that the won are also displayed. If the computer and the player both generate the same random number, then either that turn or game is tied.