Stone paper scissor

Desilovedoze 641 views 14 slides Mar 01, 2023
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

this project is helpfull for engineering student.


Slide Content

STONE PAPER SCISSOR GAME IN PYTHON Project Presentation of MINI PROJECT Presented To : Presented By : Mr. Rahul Sharma Akash & shikha Lateral entry

Table of Content Introduction Problem Statement Aims and Objectives Methodology of Research Result Expected Utilization of Research Work Progress References

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.

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.

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.

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.

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.

Code and program Code and program

EXPECTED RESULT

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.

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.

REFERENCES www.geeksforgeeks.org www.wikipedia.org www.academia.edu www.github.com www.coursehero.com www.protectnotes.org   https://www.codewithharry.com/