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.

DarkBASIC Discussion / The DB Classic Programming Challenge Thread

Author
Message
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 00:54
rofl

and dont forget that today is the last day for the challenge so get ur entries in!

There are only 10 kinds of people in the world, those who understand binary and those who dont
t10dimensional
16
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 20th Jun 2009 01:00
But is this alowed?I made it for future challenges.


If at first you don't succeed-Pause-Go to last checkpoint
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 01:04
if you are talking about the data, im not sure

id have to say if its smaller than the max size (which we still havent decided on) then then its ok

but im not sure of the exact specification of the rule

There are only 10 kinds of people in the world, those who understand binary and those who dont
t10dimensional
16
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 20th Jun 2009 01:06
then I vote 16x16.

If at first you don't succeed-Pause-Go to last checkpoint
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 20th Jun 2009 02:25
@Phaelax
OMG that's an awsome game! Very amusing
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 02:43 Edited at: 20th Jun 2009 02:49
I just realized I have the EXACT same color-point value scheme as one of my favorite games, Banjo-Tooie (originally for N64 but was recently remade for Xbox Live Arcade)

also pic dont forget you are the judge on this, so be thinking about a victor sometime between now and midnight

There are only 10 kinds of people in the world, those who understand binary and those who dont
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 07:25
heres v5:



NOTE!:

this was posted at 11:24 pm CENTRAL TIME, which is my time so this was in before the challenge ended!!!

There are only 10 kinds of people in the world, those who understand binary and those who dont
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 20th Jun 2009 11:28 Edited at: 20th Jun 2009 11:30
Here are the entries:

That1Smart Guy



Phaelax



Ashingda 27



Razerx



NanoGamez guy



If I missed anyone or messed up on your entry, then please speak up.

I'll post the winners and runner ups after I make sure I got everyone.
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 20th Jun 2009 14:02 Edited at: 20th Jun 2009 14:06
@pictionary
Yep, my entry's fine

@Smart Guy
Nice addition of the bonus round at the end, which added a last bit of spark.

Technically, all times are meant to be GMT. This is to ensure that everyone has the same amount of time and to prevent any ambiguities regarding the end of the challenge. So from now on, any entries posted after the deadline GMT (and after the challenge setter has declared the end of the challenge or 6 hours after the deadline [which in fact you didn't]) will not be counted, as stated in the rules.


"I trust you have prepared new insults for today" - Spock, Star Trek
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 20th Jun 2009 17:52
In first place is Phaelax with his apple shooting entry.
I like how he thought outside of the box, but kept it within the boundries of target hitting.

Runnerup is Ashingda 27. I like the game a lot, but it was just too far from target hitting.
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 20th Jun 2009 18:34
Congrats Phaelax, I couldn't stop laughing when I kept murdering the person. Very creative.
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 18:58
congrats Phaelax, whats the next challenge, im out for revenge!!

There are only 10 kinds of people in the world, those who understand binary and those who dont
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 20th Jun 2009 19:08
Congrats Phaelax, great entry! And well done Ashingda for getting runner up. Looking forward to the next challenge.


"I trust you have prepared new insults for today" - Spock, Star Trek
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 20th Jun 2009 22:53
how about we make the next challenge somethng ridiculously general like best 2d game or best GUI (Graphical User Interface), just throwin ideas out!

There are only 10 kinds of people in the world, those who understand binary and those who dont
t10dimensional
16
Years of Service
User Offline
Joined: 22nd Mar 2009
Location: Code Cave, USA
Posted: 21st Jun 2009 00:42
This is a programming comp not a grafical comp.
And your not supposed to make full games just minigames that can be easily done by all programmers,good or bad.(inexperianced I call it.)

If at first you don't succeed-Pause-Go to last checkpoint
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 21st Jun 2009 01:44
is Phaelax planning on announcing the challenge 2day?

There are only 10 kinds of people in the world, those who understand binary and those who dont
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 21st Jun 2009 02:53
He hasn't even been on here yet to see that he won (at least he hasn't posted), he might be asleep (depending on time zone). What's the rule? 48 hours I think?

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 21st Jun 2009 03:01
watevr im just excited to start coding again!

There are only 10 kinds of people in the world, those who understand binary and those who dont
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Jun 2009 20:36
I was out getting my drink on last night, I'll post a new challenge later today.

[url="http://dbcc.zimnox.com"][/url]
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Jun 2009 23:09
What do you guys think about a buoyancy/fluid dynamics simulation? You could have a guy floating in water then let the user attach weights to his feet to see it affects his life!

[url="http://dbcc.zimnox.com"][/url]
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 21st Jun 2009 23:15
sounds overly complicated and not a lot of fun, but its ur call

There are only 10 kinds of people in the world, those who understand binary and those who dont
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 22nd Jun 2009 04:05 Edited at: 22nd Jun 2009 04:06
That would be pretty cool.
Are we saying anything that involves water?
From a boat bobbing around in the sea to filling up a cup with water?
I'm going to start coding tomorrow.

There is an eight letter word. You can insert a letter into it or remove a letter from it without changing its meaning. Answer
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 22nd Jun 2009 04:15
he never officially declared that the challenge, he just asked what we thought of it, so is that it then Phaelax?

There are only 10 kinds of people in the world, those who understand binary and those who dont
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 22nd Jun 2009 06:50
That could be interesting, I would have to dig up my old physics formula sheets though.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Jun 2009 00:20
Quote: "sounds overly complicated and not a lot of fun, but its ur call"


Not fun?! Physics is tons of fun to code. The end result might be boring, but the process of coding it is where the fun is, I'll go with that. Besides, it should be complicated and hard, that's what a challenge is.

Yes Obese, any of that would be fine.


Challenge: Buoyancy/Fluid Dynamics
End Date: July 1st


Anything involving the physics or mechanics of a liquid. It's very open for some creative tech demos.

[url="http://dbcc.zimnox.com"][/url]
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 23rd Jun 2009 01:43 Edited at: 23rd Jun 2009 01:45
seems like we just had a physics challenge......

http://www.dbchallenge.com/?page=view&challenge=Flinging%20Physics%20Game

ok watevr ill see what I can whip up

There are only 10 kinds of people in the world, those who understand binary and those who dont
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 23rd Jun 2009 06:09
Quick question involving media

If this were my code



would I be able to do that? Technically it's not bringing media from the folder.
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 23rd Jun 2009 06:19
if it works then ya cuz we allow media if its created in game, although why not just use get image and get the whole bitmap?

There are only 10 kinds of people in the world, those who understand binary and those who dont
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 23rd Jun 2009 07:28
O ok and I wouldn't get the whole bitmap, because I would want to get the sprite on the screen. Save bitmap saves the current screen, not just the 2d stuff.

But oh well didn't end up needing it.

Here's my entry so far. It's extremely slow. I'll have to figure out what's hurting the fps so bad.

ENTRY

That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 23rd Jun 2009 17:33
pretty cool and you're right it is pretty slow, even on my awesome computer

There are only 10 kinds of people in the world, those who understand binary and those who dont
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 24th Jun 2009 02:31
does it just have to LOOK like its simulating buoyancy or does the math actually have to involve density and all that stuff?

There are only 10 kinds of people in the world, those who understand binary and those who dont
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 24th Jun 2009 02:33 Edited at: 24th Jun 2009 02:35
@pictionaryjr

It's not as sloaw as you think! You made a typo in the beginning that's messing with your syncing:



Should read



And now I think 200 fps might be too fast.

ps: awesome entry!

Enjoy your day.
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 24th Jun 2009 04:41
Thanks Latch. I actually kept changing the sync rate to see if it would help, not thinking it was actually the sync on that was the problem, oh well, thanks anyways.

Here's my updated entry

ENTRY

That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 24th Jun 2009 05:32
cool although it looks poor for me

at about 25 fps things seem to become jittery and fast

and anything below that it looks slow and jumpy

I think if you added more stuff to the game then it would seem to flow betr and look more realistic

There are only 10 kinds of people in the world, those who understand binary and those who dont
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 24th Jun 2009 07:14
I'm going to add ripples and, it's actually going to be a target shooting game where you have to hit the booies and the water reacts to the balls hitting it and the booies being hit and shaking. I'm still trying to figure it all out.
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 24th Jun 2009 13:13
@Phaelax
Great challenge, I've got a couple of good ideas for it...

@pictionary
Very good entry and very quickly put together! It is a bit fast though.


"I trust you have prepared new insults for today" - Spock, Star Trek
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Jun 2009 20:27
To answer your question That1Smart Guy, you don't need to implement true physics you can simulate the effect if you want. As these challenges are geared towards games, what you think is happening on screen isn't necessarily what's going on behind the code. We use planes and billboarding to fake 3D trees to cut down on the amount of geometry drawn on screen, Sonic surely doesn't use true physics for spinning around his winding tracks because that would be to cpu intensive on a sega. So if you can get a sweet effect that looks good without having to do all the real calculations that would be just fine.

[url="http://dbcc.zimnox.com"][/url]
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 24th Jun 2009 20:27
not really related to the challenge but I was messing around with a fake shoreline effect and this is what I got:



sorry for lack of indentation

There are only 10 kinds of people in the world, those who understand binary and those who dont
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 25th Jun 2009 19:49 Edited at: 25th Jun 2009 19:51
Quote: "You could have a guy floating in water then let the user attach weights to his feet to see it affects his life!"


Well here's my entry. (left click and hold on a joint to increase weight and right click and hold to decrease weight)

ENTRY

CHALLENGE: Buoyancy/Fluid Dynamics
ENTRANT: NanoGamez Guy




The guy doesn't actually die but you get the idea. I have also done something similar with bits of string.

@Smart Guy
Nicely done with such little code. However the sand in the background didn't really look like a beach (was it meant to?)


"I trust you have prepared new insults for today" - Spock, Star Trek
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 25th Jun 2009 20:24
Sounds... challenging... That's something for me!

TheComet


Make the path of your enemies easier with Waypoint Pro!
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 25th Jun 2009 20:47
i was going for something like a beach, but I knew it wouldnt look all that well

whats really freaky about my little code is when you realize the "water" and the "sand" are actually perpendicular!!

There are only 10 kinds of people in the world, those who understand binary and those who dont
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 26th Jun 2009 07:44
Hey just made this.
I'm going to make it so the liquid never ends but for now since I can't figure out a way, it just makes a thousand of them. The performance impact isn't too bad till about 600, but oh well I still think its pretty cool

Use the Up and Down keys to move the camera.
Use the mousemovent to control camera rotation.
Use the left and right keys and the left and right mouse buttons to control where the spout is.

pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 26th Jun 2009 07:46
Hey just made this.
I\'m going to make it so the liquid never ends but for now since I can\'t figure out a way, it just makes a thousand of them. The performance impact isn\'t too bad till about 600, but oh well I still think its pretty cool

Use the Up and Down keys to move the camera.
Use the mousemovent to control camera rotation.
Use the left and right keys and the left and right mouse buttons to control where the spout is.

Entry 2:

[b]
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 26th Jun 2009 17:35
Cool!!

and since the "water" is blue and the backdrop is blue I suggest adding



and a few options for infinite water:

implement a sphere reuse, so after a sphere hits the bottom of the matrix then it is brought back to the top

change it from spheres, which are very high poly, to plains, thst should speed things up

There are only 10 kinds of people in the world, those who understand binary and those who dont
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Jul 2009 01:44
Challenge ends tonight at midnight, I only see entries from NanoGamez guy and pictionaryjr. I'll take those current ones home tonight and check them out. If I don't see any updates or new entries when I get on tomorrow, I'll have the results, otherwise you may have to wait til Friday.

[url="http://dbcc.zimnox.com"][/url]
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Jul 2009 03:01
Results of the Buoyancy/Fluid Dynamics challenge:

NanoGamez guy,
Took me a minute to figure out what it was, after that I laughed. You took my example rather literally, it was cool.


pictionaryjr,
I think I saw what you were going for (water poured into a drain), but the animation just didn't seem right as the spheres didn't seem to move until you saw the end of the trail coming. But towards the end they did start to bounce a little down the sides like a drops of water splashing down.


Winner:



I have a suggestion for the next challenge, should you choose to use it. Fireworks, considering saturday is July 4. Probably no big deal to you UK folks, but its when we freed ourselves from your tyranny!

[url="http://dbcc.zimnox.com"][/url]
pictionaryjr
16
Years of Service
User Offline
Joined: 12th Mar 2009
Location:
Posted: 3rd Jul 2009 05:52
Congrats Nano So what'll the next challenge be, I need something to do lol.
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 3rd Jul 2009 19:01 Edited at: 15th Jul 2009 21:22
Thanks Phaelax, and thanks pictionary.

I think I'll use you suggestion Phaelax, it's a good idea and will be great for improving particle physics skills!

Fireworks Challenge


Description
Design a programme, interactive or not, that'll simulate fireworks and will be nice to look at. I can be any type of firework, e.g. rockets, Catherine wheels etc...

Deadline
[EDIT 2] 2.285714285714285714... Weeks, Midnight GMT Friday 17th of July.

By the way, did you know that about 50% of the people who signed the deceleration of independence were Welsh, as were 9 presidents?

Good luck in the challenge!

My current wallpaper:
"I trust you have prepared new insults for today" - Spock, Star Trek
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Jul 2009 20:39
And 7 of the presidents were from Ohio (where I live), more than any other single state. Oddly, they were all Rebulican and yet Ohio voted for Obama.

Sweet challenge idea!

For any of those interested, there is a tutorial on my website about particle physics, which is really just projectile motion.

[url="http://dbcc.zimnox.com"][/url]
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 4th Jul 2009 15:59
Quote: " considering saturday is July 4. Probably no big deal to you UK folks, but its when we freed ourselves from your tyranny!"

Cake or death? (Eddie Izzard)

TGC Forum - converting error messages into sarcasm since 2002.

Login to post a reply

Server time is: 2025-08-08 20:41:55
Your offset time is: 2025-08-08 20:41:55