Galgotias College of Engineering & Technology
Galgotias College of Engineering & Technology
Galgotias College of Engineering & Technology
& Technology
Session: 2019-20
BACHELOR OF ENGINEERING
(DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING)
Sumit Kr Singh(1809710114)
Shivam (1809710100)
Acknowledgement
Enjoying the best Fruit Catcher game falling fruit from sky into a basket.
A fruit catcher catch game is a best fun game to play for child and adult.
. In Fruit Catcher catch game when fruits are falling on the sky, slide your device
to move the basket and catch them. Alternatively you can touch at the point, where
you want the basket to move basket, if catch the fruit then get some point, if catch
mango then get best point to increase your high score
Overall Description
In Fruit Catcher catch game when fruits are falling on the sky, slide your device to
move the basket and catch them. Alternatively you can touch at the point, where
you want the basket to move basket, if catch the fruit then get some point, if catch
mango then get best point to increase your high score
It is provide super Entertaining game, Catch the fruit for gaining score and avoid
the fruits bombs, gain more score to catch more fruit, if you take fruit bomb then
you can lose your life, so avoid fruit bomb.
Fruit catcher catch game fruits like banana, orange, apple, watermelon, strawberry.
Catch the fruits in the basket. When you start playing then you can't stop yourself.
Catch all the Fruits and avoid bombs.
If you try to catch falling stars for bonus points and if catch bad fruits, which will
decrease your score and leave.
Fruit catcher catch game will bring true excitement and challenges along with it. It
is also intended for both kids and adults.
Features:-
- No ads.
- Endless gameplay.
- Totally free to play.
- Easy to Play.
- Unlimited Fun.
- Addictive Game.
- Rated for 3+
Game Info.
Version 1.0.1
Download size
Hardware & software requirement
HARDWARE :
1. Monitor
2. Keyboard
3. Mouse
4. Ram 1gb(minimum)
5. Disk space 50 MB
SOFTWARE :
1. Operating System
(Like :- MS Window 7,8,10, Ubuntu , MacOs )
2. Pycharm
3. Phyton 3.7
4.
IMPLEMENTATION
import pygame
import random
pygame.init()
def gameloop():
display=pygame.display.set_mode((500,500))
clock=pygame.time.Clock()
crashed=False
white=(255,255,255)
black=(0,0,0)
missed_apple=0
score=0
x=300
ch_x=0
basketimg=pygame.image.load("basket.png")
fruit_img=pygame.image.load("apple.png")
bomb_img=pygame.image.load("bomb.png")
def bomb(m,n):
display.blit(bomb_img,(m,n))
a = random.randrange(25, 420)
b=-100
fruit_speed=0.02
basket_speed=10
m = random.randrange(25,420)
n = -1200
while not crashed:
if event.type==pygame.QUIT:
quit()
if event.type==pygame.KEYDOWN:
if event.key==pygame.K_LEFT:
ch_x=-basket_speed
if event.key==pygame.K_RIGHT:
ch_x=basket_speed
if event.type==pygame.KEYUP:
ch_x=0
if x<=0:
x=0
if x>=430:
x=430
fruit_speed+=0.0001
basket_speed+=0.1
display.fill(white)
for o in range(4,450):
b=b+fruit_speed
movapple(a, b)
n+=.05
bomb(m,n)
x+=ch_x
if b>=450:
a = random.randrange(25, 420)
b=0
missed_apple+=1
if n>=450:
m = random.randrange(25, 420)
n = -200
if b>=440:
score+=1
missed_apple-=1
if m>x-10 and m<x+61:
if n>=440:
missed_apple=3
basket(x, 450)
if missed_apple>2:
display.fill(black)
if event.type==pygame.KEYDOWN:
if event.key==pygame.K_r:
gameloop()
if event.key==pygame.K_q:
crashed=True
pygame.display.update()
clock.tick(40)
gameloop()
pygame.quit()
//End Of Code
Conclusion
Computer has got clear advantage over the manual system. The
computerized system is more reliable, efficient and fast at the project, I
can say that computer play a very crucial role in the development of
firm. All the daily reports generated by the system are to be checked by
the concerned official so as to ensure that all the transaction have been
put through in appropriate accounts and this is tallied with the new
-vouchers.
BOOKS:
WEBSITES:
a)https://www.geeksforgeeks.org/
b)https://www.tutorialspoint.com/
c)https://www.udemy.com/
d)https://www.youtube.com/