Panda-Pong

Return to Showcase

Panda-Pong

Postby Nemesis#13 » Fri Nov 13, 2009 9:07 pm

Hi,
as a part of fprimex' classic-recreations project i've written this small, crappy pong clone. It's a bit dirty, but i wanted to keep it as simple and plain as possible.

Configuration is done in the first few lines of main.py - just look inside!
Use arrow keys for steering, Enter to restart and Escape to quit.
If you enable left pad, it's controlled by 'w' and 's'.

Screenshot:
http://www.pasteall.org/pic/show.php?id=144
Download:
http://code.google.com/p/classic-recrea ... loads/list
Browse Source:
http://code.google.com/p/classic-recrea ... pong/trunk

Hope you enjoy it.
User avatar
Nemesis#13
 
Posts: 1041
Joined: Mon Aug 04, 2008 8:09 pm
Location: Germany

Postby rdb » Sat Nov 14, 2009 8:02 am

The computer-controlled pad appears very jittery. Also, there is no way to win because there's no way to steer the 'ball'. Looks like the ball reflects randomly or so, but not depending on where you hit it.
I rarely respond to PMs
rdb
 
Posts: 8575
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby fprimex » Mon Nov 16, 2009 11:43 am

rdb: I've filed your observations as an issue in the project.

I think it'd be fun to rework the architecture of games like this so that they can be extended using OOP. I.e. someone could download panda-pong, then inherit from it and, say, replace the paddles with their own or add effects, or change the board or game physics.

Nemesis#13: what do you think?
fprimex
 
Posts: 10
Joined: Wed Jan 02, 2008 9:42 pm

Postby ditus » Wed Dec 30, 2009 4:00 am

oh jeez! tiny but nice documented!

----------
(comments are mostly interrupting me while reading a code.)
is the idea of the lenov diing? no!
the aries is already on build :)
User avatar
ditus
Troll
 
Posts: 277
Joined: Mon Oct 15, 2007 2:15 pm
Location: moon


Return to Showcase

Who is online

Users browsing this forum: No registered users and 0 guests