1. 2D Arcade Game
Pong
By:
1. Prayash Chettri -15
2. Sanjeev Patil -46
3. Siddharth Pagare -42
4. Resham Patil -45
Under the Guidance of
Prof. Shatabdi Bhalerao
2. Introduction
Objective
Problem Statement
Algorithm Details
System specifications
Design Details
Implementation and Result
Conclusion and Future scope
References
CONTENTS
3. Pong is a table tennis–themed arcade sports video game,
featuring simple two-dimensional graphics, manufactured by Atari
and originally released in 1972.
It features a ball and two paddles on each side of the screen, the
goal of the game being to hit the ball with paddle without missing.
This game can be played by two people or by only one considering
the opponent is a computer. Since, we are not adding a computer
to our game we will have both the paddles controlled by one
keyboard.
Introduction :
4. Objective :
To make2D Arcade Game which has simple and interactive system.
Thegame should berunnable on any PC.
Minimum interaction with GUI should berequired to play the game.
Thegameplay should beeasy enough so that anybody can play the game on the go.
5. Problem Statement :
The recreation of pong game contain new powerup features
which makes game more interesting and unlocks new potential
gameplays.
The original game of pong was straightforward with only a ball,
paddles and the scoreboard.
The graphics were not smooth due to lack of powerful
computers and had to be played in the arcade machine.
6. Step1: AccessLaunchpage.
Step2:Create game start button, text, font, background and layout for the Launch Page.
Step3:Define paddle, border, ball, power up initial properties for the game.
Step 4: Create paddles A and B.
Step 5: Create a ball.
Step 6: Create power ups.
Step 7: Render graphics.
Step 8: Take input from players, map keyboard keys.
Algorithm Details :
7. 1.6 GHz or faster processor
2 GB of RAM
Windows 7 or Linux (Debian): Ubuntu Desktop
16.04, Debian 9
For running the application:
• Java SE (Latest version preferred)
• Windows 7 or Linux (Debian): Ubuntu Desktop 16.04, Debian 9
For Developing:
• VS code
-Extension pack for Java
• JDK 16.0.2
• Launch4j
Hardware Requirements :
Software Requirements :
8. Press Start
Ball goes
to left or
right
Does the ball hit players
paddle?
Does the ball hit
power up?
Yes No
Ball bounces
away from the
player who hits
the ball
Did it hit the top
or bottom wall?
Yes
No
No
The player on the
opposite side to
where the ball went
wins the point
Bounce back
into play
Which
power up?
Blue
power up
Red
power up
Green
powerup
The ball gets
invisible
The player
receiving
can control
ball’s
movement
The ball’s
movement
changes to
zig-zag
The ball resets
Yes
Design Detail :
Flowchart of Pong Game
12. The project Pong game features two paddles controlled by
each player and a ball that bounces between those paddle.
The game has some unique powerups which have different
effects on the ball. It makes the game more interesting and fun
to play.
The graphics are quite simple as of now with a scoreboard on
top of the window.
The project was made interactive and simple using Java swing
and AWT.
Though it can be improved in a lot of ways, the outcomes at
the moment were quite satisfactory.
Conclusion :
13. Thefuture scopeforthe 2D arcadegame ‘Pong’ will beadding audio and improving
graphics for better gaming experience.
Adding more power ups.
Adding options tochosebetween single player and multiplayer.
Adding different stages ordifficulty levels.
Future Scope: