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 / <Press>

Author
Message
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Feb 2008 14:05 Edited at: 7th Feb 2008 19:16
This game is probably the simplest game ever invented, it`s for DBC and it has exaclty 20 lines of code.

You have a button that always runs away from the mouse, and you have to click it. Every level up, the button gets smaller and faster. I made it to level 7... How about you?

Code:


compressed code:


super compressed code:




(File attached)

Please post some comments...

Oooooops!!! I accidentally formated drive c.

Attachments

Login to view attachments
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Feb 2008 17:20
I have noticed that a lot of people had to wait a long time until someone answered to their thread. C`mon guys! I`m also impatient... 12 Have looked at it, None have answered! Is the game THAT crappy?!

I`ll post some screen shots:

Press the button...


...to go up a level...


...if you click too much, your a loser!


Have fun!

Oooooops!!! I accidentally formated drive c.
Zorek
16
Years of Service
User Offline
Joined: 9th Jan 2008
Location:
Posted: 8th Feb 2008 07:31
looks like a fun game i'll try and see how well i can do.

all for me and non for all!!!
Zorek
16
Years of Service
User Offline
Joined: 9th Jan 2008
Location:
Posted: 8th Feb 2008 07:34
i got too lv 5

all for me and non for all!!!
Must Program
16
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 20th May 2008 20:32
its not that people think the game is crappy its just they probably had so much fun playing it that they are still playing it now and havent had time to answer because they are addicted to the game hope i helped lol i think its a good idea and wow that amount of code compressed to just 20 lines that is good.
sinisterstuf
17
Years of Service
User Offline
Joined: 28th Mar 2007
Location: Namibia, Southern Africa
Posted: 20th May 2008 22:29
I will test your game tomorrow, it sound like fun but I can't copy & paste from here.

my conclusion about the long response time in this forum is that hardly anyone ever comes here because they always are in the DBpro forum or anywhere else but here.
Personally I think that's a bit sad because I think 20 lines is awesome!

Happy, always happy!
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 21st May 2008 00:21
Ha ha ...nice one !! that´s like trying to step a fk cockroach...
very good indeed... I got level six...ha ha I,m gonna try again !!


cheers.

oh my god
Negrul1
17
Years of Service
User Offline
Joined: 31st Jan 2007
Location: Repairing Black Mesa
Posted: 28th May 2008 17:28
I replied! I replied! I replied by saying.... ummmmmmmm... YAY!

Ok, stupidity over. Cool game!

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
Blobby 101
17
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 28th May 2008 23:02
nice game! i got to level 6 - got stuck there.

Your signature has been erased by a mod - 340 KB is a little big don't you think?
sinisterstuf
17
Years of Service
User Offline
Joined: 28th Mar 2007
Location: Namibia, Southern Africa
Posted: 30th May 2008 23:29
So I got your game and i played it.

got to level 7 yeah!!!

but i think the game cheats somehow cos I SWEAR on level 7 if u even if you actually click the box it does this little jump thing and moves around your mouse and then goes back to normal speed... Hmm... So i think i got very close... Is level 8 actually possible?

it's also funny cos catching our hamster is exactly the same as this!!! Nice game, i think i'll go play it some more

(\__/) When the going get stuf,
(O.o ) the stuf get's sinister
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 12th Jun 2008 20:22
Quote: "but i think the game cheats somehow cos I SWEAR on level 7 if u even if you actually click the box it does this little jump thing and moves around your mouse and then goes back to normal speed... Hmm... So i think i got very close... Is level 8 actually possible?"


Oh, if you study the code, you will notice that when your mouse is on the box, the button will speed towards the center. Every level you go up, the button gets smaller, and faster, and the problem your having, (or probably everyone, because I can`t make it to level 8), is that the speed exceeds the mouse width...
I`m not sure if it`s possible... although, keep trying

Cheers

TheComet

Oooooops!!! I accidentally formated drive c.
bergice
16
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 15th Jun 2008 01:11
level 6


Programming Recorder: 3,0 months of dark basic
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 15th Jun 2008 19:38
does using a tablet count as cheating? lol

when i get dbp to install again i'll try it (when i install it doesn't install the get activation code from cd utility so i can't compile until i fix this :/ )

AMD AthlonX2 5000 black edition @2.8ghz, 2gb pc5400, AMD/ATi hd3850, creative xfi music, 24" hp widescreen 1920x1200, ECS KA3 MVP mobo
sinisterstuf
17
Years of Service
User Offline
Joined: 28th Mar 2007
Location: Namibia, Southern Africa
Posted: 19th Jun 2008 00:22
Im not sure what my brother did but he was just playing the game then he found that the button doesn't move if the mouse is in the middle of it. So instead of clicking randomly he chases the button till he gets the cursor in the centre then it freezes and he can just click... I don't know how many levels he completed using this method...

When the going get stuf,
the stuf get's sinister
Rampage
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 29th Jun 2008 10:55
WOW! Hahaha, man this is great, not to mention VERY addicting! I can't stop trying to get past level 7!!! Its just to fast! Sneaky little button...


Visual Game Studio Express Lead Programmer.
cguy
16
Years of Service
User Offline
Joined: 3rd Nov 2007
Location: In my Computer!
Posted: 10th Jul 2008 22:37
I got to level six on my first try...going to try again. Not sure if I'm revealing some secret, but it is easier if you catch it in the corner.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 14th Jul 2008 20:03
Quote: "Im not sure what my brother did but he was just playing the game then he found that the button doesn't move if the mouse is in the middle of it. So instead of clicking randomly he chases the button till he gets the cursor in the centre then it freezes and he can just click... I don't know how many levels he completed using this method..."


OK, once the mouse is on the button, the button will speed towards the CENTER of the screen. once it gets there, it has nowhere to go, so it stays there and you can simply click it.

Quote: "I don't know how many levels he completed using this method..."


Did he get past level 7?

Because if you go up a level, the button doesn`t resume it`s last position, it picks a random new position. I coded that on purpose, so you can`t do what your brother did...

onkypokey
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location:
Posted: 15th Jul 2008 12:06
nice effort!
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 30th Jul 2008 23:53
Thanks!

Suicide is away of telling God, You can’t fire me I quit !!!!!
sinisterstuf
17
Years of Service
User Offline
Joined: 28th Mar 2007
Location: Namibia, Southern Africa
Posted: 2nd Aug 2008 03:07
Well that was a bit mean of you I don't think he did but I'm not sure, I'll have to get him to play it again lol

[UNERROR 16: able to retrieve user signature]
1,1,2,3,5,8,13,21,34,55... you like?
MaPo
15
Years of Service
User Offline
Joined: 6th Aug 2008
Location: Machu Picchu
Posted: 15th Aug 2008 02:03
I think this is really good. It's actually fun to play. Thanks!
draknir_
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Netherlands
Posted: 29th Aug 2008 12:33
The game isnt fair, I clearly see my mouse over the button and i clicked it. level 7.

Login to post a reply

Server time is: 2024-04-18 19:05:55
Your offset time is: 2024-04-18 19:05:55