Pong

pong

I have attached a video and a picture – a single player pong game and a two player version. The two games are written in Processing. I didn’t find a way to convert it into an exe package. So, to run it you must have Processing installed in your PC. The entire code is available at https://github.com/nakul13/PONG.

Image

It is fun to play your own game. But after sometime I started having a few ideas. What if the path the ball traces is made visible. The answer to that is that the screen will be white pretty soon and you won’t be able to play. But what if the path of the ball had nice colors like red, green and blue? What would it look like? I tried it out and here is what I got.

Image

Image

Image

What I did was to change the ball color every time it hit the paddle and also more importantly made the colors translucent. Opaque colors would be very boring.

About these ads
Comments
One Response to “Pong”
Trackbacks
Check out what others are saying...
  1. […] Practice your Processing skills by using it to code a game of Pong. […]



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: