1. STONE PAPER SCISSOR GAME IN PYTHON
PROJECT PRESENTATION OF MINI PROJECT
PRESENTED TO :
PRESENTED BY :
MR. RAHUL SHARMA
AKASH & SHIKHA
LATERAL ENTRY
2. TABLE OF CONTENT
Introduction
Problem Statement
Aims and Objectives
Methodology of Research
Result Expected
Utilization of Research
Work Progress
References
3. INTRODUCTION
By this game user can easily play with computer and without getting
bore you can play without any other person alone.
In this game, user gets the first chance to pick the option among
Rock, paper and scissor. After that computer select from remaining
two choices(randomly), then winner is decided as per the rules.
If you’re unfamiliar, stone paper scissors is a hand game for two or
more players. Participants say “stone, paper, scissors” and then
simultaneously form their hands into the shape of a rock (a fist), a
piece of paper (palm facing downward), or a pair of scissors (two
fingers extended).
The rules are straightforward:
• Stone smashes scissors
• Paper covers rock.
• Scissors cut paper.
4. PROBLEM STATEMENT
The objective of stone, Paper, Scissors is to defeat your opponent by selecting a weapon that defeats their
choice under the following rules:
➢ Scissors cut Paper, so Scissors win.
➢ Paper covers Rock, so Paper wins.
➢ If players choose the same weapon, neither win and the game is played again.
Disruption overcomes the status quo. stone, paper, scissors are each disruptive to the other – and the right
attack wins. ... Don't get caught in a rut yourself. ... What appears to be a weakness could be a strength.
5. AIMS AND OBJECTIVES
The goal of this assignment is to learn the following:
Conditional and lexical scoping
Loops
Analyze the problem statement
Learn to create a user Interface with the help of Python.
6. METHODOLOGY OF RESEARCH
We will combine theory as well as practical (coding).
In this one has to test whether the system can be developed using existing technology or not.
We have used C language for this project. Stone Paper Scissor is a game of cyclic
dominance it is not only the popular game among the children’s but also a basic model for
studying decision making in non-cooperative strategic interactions.
7. random.randint (0,2)
// used to generate the random numbers by the user.
Imagetk,image
//used to put the images which is store in the predefined library PIL .
root = Tk()
root.title("stone paper")
root.configure(background="#9b59b6")
//these functions are used to create the main window for the interface which is also store in the predefined library tkinter.
Some functions usages to build this game.
12. UTILIZATION OF RESEARCH
The proposed system has to be examined for its technical, economical and
operational feasibility. It is evaluated from developer and user’s point of view.
Feasibility study includes consideration of all the possible ways to provide a
solution to the given problems. The proposed solution should satisfy all the user
requirements and should be flexible enough so that the future changes can be
easily done based on the future upcoming requirements.
13. WORK PROGRESS
Firstly I created the logic for this game and how I can declare the winner
if the user can play with the computer.
And then I faces issue with the interface so I can make the separate
window with help of tkinter predefined library.
After I have to work on the interface how I can show the message which
indicate who win’s the game and who lose the game.
After I have put images and buttons according to choices of the user and
computer through the random function.
After that for looking the window better I have opted out the maximize
option from the interface window so the interface looks better.
And finally with all of these steps I get what I actually want and what I
have looking for.