Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / my sub-pong game

Author
Message
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 17th Mar 2004 03:23 Edited at: 17th Mar 2004 03:24
20 liner no.2
just another pong-like game.

you move a bar with the mouse, bounce a circle off the bar, and watch it bounce around.

you score when the ball bounces off either of the two barriers near the top. the bottom barrier lets the ball through on a random basis and the top barrier expands every time the circle hits you bar. if the two barriers meet, the top barrier resets and your score is multiplied by ten.


Programs for programmers.
Douglass
21
Years of Service
User Offline
Joined: 28th Aug 2003
Location:
Posted: 17th Mar 2004 05:25
um, recheck line 7...

Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 18th Mar 2004 00:30
sorry about that, supposed to be y<mousex()


Programs for programmers.
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 18th Mar 2004 00:35
random things are being taken out of my code, the below is correct


Programs for programmers.
Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 18th Mar 2004 00:37 Edited at: 18th Mar 2004 00:42
that one too!!! just look at it here here


Programs for programmers.

Login to post a reply

Server time is: 2024-11-23 12:03:30
Your offset time is: 2024-11-23 12:03:30