0% found this document useful (0 votes)
83 views13 pages

Zip Zap and Zoom Game Using Python: A Mini Project Report

The document describes implementing the Zip Zap and Zoom game using Python. It includes the rules of the game, concepts used like functions, conditional statements, loops, and input/output. The implementation takes a number as input, checks if it is divisible by 3, 5, or both, and prints "Zip", "Zap", or "Zoom" accordingly. It then calls the function in a for loop to get input from multiple players.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
83 views13 pages

Zip Zap and Zoom Game Using Python: A Mini Project Report

The document describes implementing the Zip Zap and Zoom game using Python. It includes the rules of the game, concepts used like functions, conditional statements, loops, and input/output. The implementation takes a number as input, checks if it is divisible by 3, 5, or both, and prints "Zip", "Zap", or "Zoom" accordingly. It then calls the function in a for loop to get input from multiple players.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 13

A MINI PROJECT REPORT

ZIP ZAP AND ZOOM GAME USING PYTHON

SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD OF THE

INTERNSHIP

IN

PYTHON PROGRAMMING

UNDER THE GUIDANCE OF

MR. K. VENKAT REDDY

(MENTOR)

BY

S.TULASI 18R91A05N3
G.PRASHANTHI 18R91A0583
N.RAMYA REDDY 18R91A05M8

JAZZLIKE TECHNOLOGIES
CERTIFICATE

We hereby declare that the mini project entitled “ZIP ZAP AND ZOOM GAME USING
PYTHON” is the work done during the period from 21st June 2021 to 15th August 2021
and is submitted in the partial fulfilment of the requirements for the award of the Internship
in PYTHON PROGRAMMING from JAZZLIKE TECHNOLOGIES.

UNDER THE GUIDANCE OF TRAINER FOUNDER &CEO

THE MENTOR

MR. K. VENKAT REDDY MS. M. NIHARIKA RAO MR. A. SAITEJA


TABLE OF CONTENT

CHAPTER NO. TOPIC PAGE NO.


01 INTRODUCTION 01
02 RULES OF THE GAME 01
03 LIST OF FIGURES 02,03
04 CONCEPTS USED 04,05
05 IMPLEMENTATION 06
06 CODE AND OUTPUT 07,08
07 CONCLUSION 09
INTRODUCTION TO ZIP ZAP AND ZOOM GAME

 Python programming language has many features


and functions and can be used for various purposes
in day-to-day life
 Using Python a Zip Zap and Zoom game can be
implemented.
 Zip Zap Zoom is a fun game that requires its players
to concentrate and participate actively.
 When this game is played with people, this is how it
is played.

RULES OF GAME

1. Players stand in a circle, 6 feet away from each other


2. One player starts the game by clap-pointing and saying
zap to any person
3. This person now does the same to the person to its
right and says zap
4. Third person so selected now can choose anyone
irrespective of the direction by saying zoom
5. Now the person so selected starts the game again with
zap and the continues in this fashion
6. If somebody messes up in between, he is out of the
game and supposed to sit.
Then the game is restarted with the members left and
this is continued until 3 members declared as the winners
of the game.
LIST OF FIGURES

STEP 1

STEP 2

STEP 3
STEP 4

The same zip, zap and Zoom is continued


till 3 players are left at last.

Finally three members will be the winners


CONCEPTS USED

 Functions
 Decision Making Statements
 Loop control statements
 Input function
 Print function/statement

Functions: It is a self contained block of more


statements that perform a special task when called.
Syntax –
def function_name(parameters):
Statement 1
Statement 2

Statement n
function_name(arguments) #calling the function
The output is obtained only if the function is called.

Decision Making Statements:


In this program if, elif, else conditional statements are
used. For these statements Indentation is must.
Syntax –
if <condition>:
statements
elif <condition>:
statements
else:
statements
If condition is true then if block gets executed , elif
condition is true then elif block gets executed. If all the
conditions are false then else block is executed.

Loop Control statements:


 For loop
 While loop
In this program the for loop is used.
For loop – This is used for iterating the statement
required number of times.
Syntax. for i in range(expression):
Statements

Input function: This input function is used to take an


input from the user. Store the input in a variable for easy
access.
To take integer as an input mention int before input.
Similarly for float mention float. And for the input we
don’t know what the user enters mention eval before the
input statement.
Syntax –
variable_name = input(“statement”)
Example :
a = int(input(“enter number”))

Print statement: This print statement is used for printing


the output.
Syntax – print(“ statements “)
IMPLEMENTATION:

In Python Programming language the Zip Zap and Zoom


game can be implemented as follows –
 Take in a number as input from the user.
 Check if the number is multiple of both 3 and 5, if
it is then print “Zoom”.
 If it is not, then check if the number is a multiple
of 3, if it is then print “Zip”.
 If it is a multiple of 5 instead, print “Zap”.
 Else, print a default statement as invalid number.
CODE

def ZZZgame(number):
if number % 3 == 0 and
number %5 ==0:
print("Zoom")
elif number % 3 == 0:
print("Zip")
elif number % 5 == 0:
print("Zap")
else:
print("Invalid number!")
players = int(input("Enter number of Players: "))
print(players)
for i in range(1,players+1):
print(“Player”,i, end =' ')
number = int(input("given
number: "))
ZZZgame(number)
OUTPUT
CONCLUSION
The Python programming language can be used in many ways. One of
this is the Zip, Zap and Zoom game which can be implemented by
using Python features and topics like defining the function, function-
call method , conditional statements, printing the requirements needed
for the input and to give the desired result for the game.

You might also like