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 / Cube Dodger

Author
Message
Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 6th Apr 2003 20:53 Edited at: 7th Apr 2003 07:35
Here is the code:



This is my first game ever.In the game, you are a sphere. The object of the game is to dodge all of the cubes as you fall at a constant rate. If you touch one, you will lose one life and restart the current wave of cubes. This will also happen if you touch one of the boundry walls. The game will pause if you touch a cube or a boundry wall and wait until you press a key to restart the wave. Every 2500 points you will gain an extra life. There is no media, just copy and paste!

Controls:
Left Key - Move to the left
Right Key - Move to the right
Enter Key - Pause the game - Press any other key to unpause

There are a few errors, the "you lost a life" text and the "game over" text don't appear at the right time. Also, the collision is a little off, but I can't seem to get it perfect. Could someone experienced help me with these? Thanks.

Also, please post your opinions of the game and your high score, thanks! (Btw, this is DBPro, not sure if it works in DBC)
Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 6th Apr 2003 21:16
Oops! The first one copied in wrong I edited first post, should work now
Compiuser458
20
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Germany
Posted: 6th Apr 2003 21:39
Works fine in DBC if you change it a bit :



Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 6th Apr 2003 22:55 Edited at: 6th Apr 2003 23:52
Thanks for modifying it! Btw, new version. Your speed now increases as well as the number of cubes to dodge.

I think this will work with both versions:

The Darthster
21
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 6th Apr 2003 23:58
I'd tell you my high score but the program just shut down as soon as I died. It was about 5000 on wave 6.

Once I was but the learner,
now, I am the Master.
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 7th Apr 2003 00:16
shit i was hoping i might win the 20 line comp but i doubt it against this.

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
ReD_eYe
20
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 7th Apr 2003 00:21
nice one!

'You were born crying while people around you smiled'
Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 7th Apr 2003 00:25 Edited at: 7th Apr 2003 07:36
Sorry about the abrupt ending, I fixed it so that it will display your score then wait until you press escape to exit the game. Thanks for responding everyone. Icfcfan, I'll take that as a compliment . Glad you liked it Red_eye.

Also added the ability to restart the game.Code:

Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 7th Apr 2003 09:40 Edited at: 8th Apr 2003 03:56
Added new title screen and changed it to one extra life per 2500 points. Still have one line of code left to fill! What should I use it on??

Code:



My high score : 12,084
Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 8th Apr 2003 07:53 Edited at: 8th Apr 2003 08:05
Thought of something You can now customly color your sphere, yay! Yeah, I was pretty bored... (Also why I made the sentence generator )



I can still squeeze some more stuff in though, if any body has any suggestions.
Witch Bomber
21
Years of Service
User Offline
Joined: 25th Jan 2003
Location: Scotland
Posted: 10th Apr 2003 14:31
Nice to see I'm not the only one who likes to evolve his 20 liners and add new features. Great game. Isn't that more than 5 commands in the last line though?

Visit the new Madd Matt Games Website
http://www.madamattgames.o-f.com/index.htm
Home of Witch Bomber,Magic Cube and Pinball Football(and a lame website)
Whisper Wind
20
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 10th Apr 2003 18:27
Thanks, glad you liked it. The rules have now rather subtly been changed to 25 commands per line.
Witch Bomber
21
Years of Service
User Offline
Joined: 25th Jan 2003
Location: Scotland
Posted: 11th Apr 2003 01:13
I could make most of my games in 500 commands, that's just a bit ridiculous these new rules. I feel that to be extremely stupid that you can just add so many features to a 20-line game. There's no more challenge.

Visit the new Madd Matt Games Website
http://www.madamattgames.o-f.com/index.htm
Home of Witch Bomber,Magic Cube and Pinball Football(and a lame website)

Login to post a reply

Server time is: 2024-02-21 02:27:40
Your offset time is: 2024-02-21 02:27:40