Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

A PROJECT REPORT ON

BRICK BREAKER GAME

Submitted to

Sameer Gautam

Hetauda School of Management and Social Sciences

In partial fulfillment of the requirement for Bachelor Degree in the Bachelor of Arts in
Computer Application

Submitted by

Bijay Aryal

Symbol no: 4790679

February, 2020
057-524711, 524701

(Affiliated to TU)

Hetauda School of
Management
Campus
Est. – 1995
Hetauda, Makwanpur

Approval Sheet

This report is presented

By

Bijay Aryal

Entitled

A report on Brick Breaker has been accepted as partial fulfillment for the requirements of Bachelor
of Arts in Computer Application.

……………………………………..
Signature of the Supervisor

Name: Sameer Gautam

Date:

i
ACKNOWLEDGEMENT
I am over helmed in all humbleness and gratefulness to acknowledge my depth to all those
who have helped me to put these ideas, well above the level of simplicity and into something
concrete. I would like to express my special thanks of gratitude to my teacher Mr. Sameer
Gautam as well as our principal who gave me the golden opportunity to do this wonderful
project, which also helped me in doing a lot of research and I came to know about so many
new things. I am really thankful to them. Any attempt at any level can’t be satisfactorily
completed without the support and guidance of my parents and friends. I would like to thank
my parents who guide me from time to time in making this project, despite of their busy
schedules, they gave me different ideas in making this project unique.

ii
TABLE OF CONTENTS

1. INTRODUCTION.............................................................................................................................iii

2. REQUIREMENT GATHERING AND ANALYSIS...........................................................................3

3. SYSTEM DESIGN..............................................................................................................................3

3.1 Algorithm................................................................................................................................3

4. CONCLUSION...................................................................................................................................3

5. REFERENCE......................................................................................................................................3
1. INTRODUCTION

Brick Breaker is a Breakout clone which the player must smash a wall of bricks by deflecting
a bouncing ball with a paddle. The paddle may move horizontally and is controlled with the
arrows key of keyboard. The player gets 3 lives to start with; a life is lost if the ball hits the
bottom of the screen. When all the bricks have been destroyed, the player wins the game.If all
lives are lost, the game is over. There are many versions of brick breaker, some in which you
can shoot flaming fireballs or play with more than one ball if the player gets a power up.

4
2. REQUIREMENT GATHERING AND ANALYSIS

As it is a computer based application game, coding is done in java programming language using
Eclipse. To build the game, firstly basic knowledge of java swing and AWT. After requirement
of the project were collected and it was decided to build game with different logic flow which
can entertain some people. In analysis phase, the research was started to do something new in
java. Initially the game is create to do entertainment. In feasibility Analysis this software has
been tested for feasibility criterions from various point of views.

5
3. SYSTEM DESIGN

Brick Breaker game is design firstly by creating frame with height 600px and width 700px. Then
add the panel and use the graphics function to draw background image, ball icon, image for
paddle and draw boarders with yellow color. Then implements keylistener and actionlistener to
control the movement of paddle and ball. Paddle can be moved right and left with RIGHT key
and LEFT key by 20px respectively. And finally if ball hits the bottom border, draw the string to
continue the game.

3.1 Algorithm

1. Start
2. Press LEFT or RIGHT arrow key to start the game.
3. Press LEFT and RIGHT key to move paddle left and right.
4. If ball hits brick then it will be disappear and ball move to other direction.
5. If ball hits the bottom then it draw Game Over.
6. If all the brick is clear then it draw You Win.
7. If game is over then press SPACE to restart the game.
8. End

6
4. CONCLUSION

To conclude, the Brick Breaker game is a simple desktop based application basically suitable for
gamer. This application provides entertainment to people. Main aim in this project was to create
a game that would help peoples to entertained themselves. I believe that my project will prove to
be a very entertaining game.

7
5. REFERENCE

1. Acknowledgement.Acknowledgement sample for school project. Retrieved March 2013,

24. from https://acknowledgementsample.com/2013/03/24/acknowledgement-sample-for-

school-project/

2. Wikipedia contributors. Brick Breaker. Retrieved February 11,2020, from

https://en.wikipedia.org/wiki/Brick_Breaker

3. Awais Mirza. Java Game Programming. Retrieved November 12,2016. From

https://www.youtube.com/watch?v=K9qMm3JbOH0&t=1370s

You might also like