Rock ,Paper, Scissors IAI .pptx

SIMRANPARDESHI 5,580 views 12 slides Jun 06, 2022
Slide 1
Slide 1 of 12
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

About This Presentation

The Rock , Paper & Scissor game illustrates the basic principle of an adaptive artificial intelligence technology. The system learns to identify pattern of a person’s behavior by analyzing their decision strategies in order to predict future behavior.


Slide Content

Rock , Paper & Scissors PRESENTED BY : MITHIL KADAM (19) IZRAIL KHAN (21) SAHIL MEHRA (29) SIMRAN PARDESHI(36)

Introduction The Rock , Paper & Scissor game illustrates the basic principle of an adaptive artificial intelligence technology. The system learns to identify pattern of a person’s behavior by analyzing their decision strategies in order to predict future behavior. So we have prepared a program that is exactly alike the rock, paper & scissors where it takes input from the user and the program itself becomes the other player

Algorithm Take User Input Make the Computer Choose Determine a Winner Play Several Games in a Row

Although rock paper scissors might seem uncomplicated, it’s important to carefully consider the steps involved in playing it so that you can be sure your program covers all possible scenarios. For any project, even small ones, it’s helpful to create a  flowchart  of the desired behavior and implement code around it. You could achieve a similar result using a bulleted list, but it’d be harder to capture things like loops and  conditional logic . Flowcharts don’t have to be overly complicated or even use real code. Just describing the desired behavior ahead of time can help you fix problems before they happen. Flowcharts help you catch possible mistakes early on and also let you see if you want to add more functionality. For example, here’s a flowchart that describes how to play games repeatedly until the user decides to stop. Without writing code, you can see that the first flowchart doesn’t have a way to play again. This approach allows you to tackle issues like these before programming, which helps you create neater, more manageable code.

Flowchart

CODE

OUTPUT

CONCLUSION The end strategy of a simple Rock Paper Scissors game  is to be random and fast . Statistically, each attack will tend to occur just as frequently as another, given that each is equally effective. In this ,we learned how to: Code your own  rock paper scissors  game Take in user input with  input() Play several games in a row using a  while  loop Clean up your code with  Enum  and  functions Describe more complex rules with a  dictionary

References https://www.wikipedia.org www.geeksforgeeks.com https://github.com https://www.slideshare.net
Tags