PROJECT ON ROCK PAPER AND SCISSORS USING PYTHON NAME: Akhil Saini ROLL NO: 210151520008 CLASS: B.tech 3rd(ECE)
INTRODUCTION TO PYTHON Python is a high level, general purpose programming language. It can also be used for game development. Here we create a simple command line Rock Paper Scissor game without using external game library like PyGame .
ABOUT THE GAME Rock paper scissors is an intransitive hand game , usually played between two people. Rock paper scissors is often used as a fair choosing between two people, similar to coin flipping , drawing straws , or throwing dice in order to settle a dispute or make an unbiased group decision.
MODULES USED Python Random module generates random numbers in Python . This module can be used to perform random actions such as generating random numbers, printing random a value for a list or string, etc. It is an in-built function in Python. There are different random functions in the Random Module of Python. randrange() Returns a random number within the range randint() Returns a random integer within the range choice() Returns a random item from a list, tuple, or string