2009
03.04

Pong!

Pong! is just a simple PONG game I’ve been writing for the past 2 weeks or so. I always wanted to code a pong game since I started my study in computer science but I always postponed the project for various reason. It’s just a couple of week ago that I finally found the excuse to start working on it. I wanted to learn to use the Clutter library!

Pong!

Pong!

First of all, I was amaze with the ease I actually did that game. Clutter is very straight forward and I had no problem at all to catch the basics concepts and as for the Pong game itself, my passion for math (and vector calculus) have been a blessing when it came to calculate the ball trajectory and speed.

I know that a pong game is nothing fancy but I’m fairly proud of the result. It also gave me experience with Clutter and Cairo. All the code is written in C (because I love C) and depend on GTK+, Clutter-0.8, Gconf-2.0. The game is not complete, well sort of. You can play without worry but there’s no preferences windows and the corner aren’t as polished as I would like but still, completely usable.

You can clone the source code with:

git clone git://github.com/guillaumebel/pong.git

Feel free to leave me comments!

4 comments so far

Add Your Comment
  1. I’d be willing to translate it in French. Any plans for i18l support ?

  2. Of course, I’ll put in on my TODO list. Pong! is an experimental project so there’s still a lot of rough edge and I don’t know when I’ll have time to work on it again… but like I said, definitively on my TODO list :)

  3. Any plans to integrate this into a new release of gnome-games?

  4. Maybe, who knows?

    Right now I’m quite busy with Nibbles but when I’ll have more time I’ll polish Pong, make it meet the gnome-games requirement and propose its inclusion in gnome-games.