RocketPong – A One Button Game


I couldn’t sleep, so I decided to write a quick entry for the Game Creation Society‘s One Button Game Compo.

It requires Pygame 1.8, which can be installed through a package manager on many distros, or can be downloaded from Pygame.

The game is a pong clone with gravity. The one button activates thrust on your paddle, which happens to look like a rocket. In theory, there is pixel perfect collision detection, so the angle of the ball against the curve of the rocket should matter. The opponent rocket is controlled by some really really horrible AI. The game would be infinitely more fun with two players, but I wasn’t sure if the one button rule meant per player or total…

Update: I uploaded a better version of it with more accurate collision detection and better AI.  There is also a two player mode that is activated by hitting the right arrow key, which is the thrust key for the second player.  This is the final version for the game competition, and very likely the last time I will touch the code.


Related Posts

5 Replies to “RocketPong – A One Button Game”

  1. Attention Please, Not for an online product selling or buying anything.
    As we are today in the a very fast paced time spending too much bussy life
    We all have many kind of disorders at different time periods of our life.
    We immediately contact our doctors for any kind of disorders we face.
    The prescribe us many kind of different medicines according to the conditions.
    But, Do you personally know in depth about these medicines?
    All the medicines may cause some side effects, Do you know?
    Pharmacy Online is a place where you can find all the essential health releated medicines
    Each of the medicine with all kind of useful and detailed information. You must know about these medicines
    Before you use them. There is information about the medicines like

    methycobal Injections
    no spa tablet

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.