Python creating game
Using python
Description:
When creating “games” it is common for a program to have the element of randomness. For example, in class we created the “Secret Number” guessing game, where the computer generated a random number and the user had to guess a number, the computer then told the user whether the guess was higher or smaller than the correct number.
For your third project, you will be creating your own “Game Room”. Upon running your program, the user will be asked what game they want to play. There should be at least 2 games that the player should be able to choose from. Upon making their selection, the user will play the game. Once the game is finished, the user should be asked whether they want to play another game.
Your games must contain some element of randomness and make the use of loops (you can either use the for loop or the while loop depending on the situation). Choose from any option below, or create your own game – Please run your idea by me first.
Rock, Paper, Scissors: the user will choose rock, paper or scissors and play against the computer who will randomly generate one of the 3 as well. Rock beats Scissors. Scissors beats Paper. Paper beats Rock. The first player to a certain amount of points wins.
War Card Game: The player will pick a card from a deck, the computer will also pick a card. The cards will be compared for the highest number. The first player to X points wins.
Secret Prize: Allow the user to pick between 3 doors, each containing a prize. The user tries to guess the best prize. If the user gets X good prizes, they win.
Hide and Seek: The user guesses which hand an object is in. If the user guesses correctly X times they win.
Dice Rolls: The user rolls a die and so does the computer. The values are compared for the highest. Whoever gets X points, wins.
Once the user is done playing the game they should return to the “Game Room”
Your Task:
For this part of your project, you must write pseudocode explaining the steps that you will take to create the program described above. DO NOT DO ANY PROGRAMMING YET!
Remember that pseudocodes involve absolutely no Python yet.