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 / 1 hour 20 line challenge

Author
Message
sneaky smith12
17
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 6th Apr 2009 01:11
Out at the Air National Guard this weekend I was challenged to write a game in 20 lines for everyone to have a competition on.

Controls:
Cursor keys move in respective directions
Z -- moves toward the screen
Y -- moves away from the screen

Rules:
You're the cube. Hit the sphere. The sphere positions randomly each time you hit it.



If at first you dont succeed, LOWER YOUR STANDARDS.
sneaky smith12
17
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 6th Apr 2009 01:19
just so you all know it didn't take me the hour... more like 10-15 minutes... lol

If at first you dont succeed, LOWER YOUR STANDARDS.
sneaky smith12
17
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 7th Apr 2009 02:29
patiently awaiting feedback...

If at first you dont succeed, LOWER YOUR STANDARDS.
Monk
15
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 8th Apr 2009 23:53 Edited at: 9th Apr 2009 00:01
Just had a look at it now, and I dont see anything...
All I get is a green screen + text and seemingly no moving.

La problemo lies with the moving for some reason.. I swapped your moving code for control camera using arrowkeys, and then placed the object at the camera position and it works. Quite an addictive little game =) However, it can be hard and disorientating to find the sphere if its beneath you.

I would say that it could be improved with a small background (possibly) and mouse movements.

P.s if you dont get feedback, its cos this is a relatively unvisited thread...

sneaky smith12
17
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 8th Apr 2009 23:56
hmm... works over here wonder what is causing that for yourself...

If at first you dont succeed, LOWER YOUR STANDARDS.
Monk
15
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 9th Apr 2009 14:22
The movement code didnt look wrong, it just didnt work...

Indicium
15
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 6th May 2009 00:46
Worked Fine For Me, Perhaps you are using a newer/older version than it was coded in?

Anyways, it was abit boring to be honest, maybe a bit more of a chalenge, maybe moving targets or something?

Got 26

Omricon W.I.P

Login to post a reply

Server time is: 2024-04-24 08:41:37
Your offset time is: 2024-04-24 08:41:37