Skip to content

splendidspidey/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Rock, Paper, Scissors!

If you want to learn how to do interactive games using Python, then this is great start for you.

In this code, You will learn how to do the quick game Rock, Paper, Scissors using Python.

How to run the code

If using Python IDLE:

  1. Open up Idle

image

  1. Then press File and after that New

image

  1. Then type the code onto the file

image

  1. Then press Run and after that Run Module

image

  1. Then type either Rock, Paper or Scissors into the input

image

If using VS Code

  1. Make a new file and type the code

image

  1. Click on the Terminal button, then New Terminal

image

  1. Type 'python' (the filename of your code).py, into the terminal

image

  1. Then type whatever you want...

image

The outcomes of this code should be like this:

  1. The first thing it should say is: Rock, Paper, Scissors?

  2. Then if you lose it should say 'Welp. You lost'

  3. If you win it should say 'Woohoo you win' or 'AYY! you won'

  4. If you play the same move it should say 'Haha! You played the same move.'

  5. And if you don't put either of those inputs it should say 'Are you sure you entered that...'

About

How to create the game Rock, Paper, Scissors in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages