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 Professional Discussion / - DBPro Coding Challenges -

Author
Message
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Oct 2005 15:00
sizer:

A little tip - don't use PRINT, use Text X,Y,String$...

TDK_Man

Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 11th Oct 2005 03:48 Edited at: 14th Oct 2005 17:15
Heres a work in progress for my entry - similar stage I think to the other entries in that there's no collision yet - just lots of moving traffic and a green little froggie.



Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 11th Oct 2005 15:52
Ok, so I don't have cars, or lorries, or indeed any kind of level.

What I DO have is the cutest ascii frog the world has ever seen!



Oh yes, fear little froggie and his cuteness...
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 12th Oct 2005 00:57
Wow! I would never have thought that was possible in Ascii! Nice one!

Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 12th Oct 2005 01:08 Edited at: 12th Oct 2005 01:08
Yikes!

If i didn't know better i'd say you loaded a picture!!!

great use of colors!

"We make the worst games in the universe."

sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 12th Oct 2005 03:07 Edited at: 13th Oct 2005 08:09
that is definitely a CRAZY little froggy.
--[EDIT]
code, mostly done... still have to throw in landing on lilly's.
BTW, have removed debug screen.
here is a screenie also.

happy dodging

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW

Attachments

Login to view attachments
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 13th Oct 2005 20:48
Looking good Sizer. The positions of the vehicles at the beginning could do with some randomization though!

Hope to get time to finish mine tomorrow.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 13th Oct 2005 21:40 Edited at: 13th Oct 2005 22:21
Remaking this post:

Ok, I've checked out this whole thread and I've found it very interesting, so I'm trying out some stuff..

Here is a crappy little frog, and cars whiz across the road. You try to cross the road(duh).

You can get squished and you can win, everytime you win the cars get faster..

I tried something that I've never seen before... making ascii "particles".. it looks pretty crap but I thought I'd try it anyway

here you go




Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 14th Oct 2005 00:05 Edited at: 14th Oct 2005 00:09
Love the exhaust fumes, Zotoaster!

As for me, I got a little sidetracked. Convinced that my little frog couldn't leap around just ANYwhere, I decided I'd need a really special looking place for him. So I wrote an ASCII art program!

Controls:

any key (i.e. "qwerty+") - Choose your 'ascii stamp'.
SPACE - Brings up the colour box. (Hold it)
RMB - Colour picker. (Hold it to read the RGB values)
LMB - Apply stamp.
DEL - UNDO (There isn't currently a redo, sorry).
ENTER - Save to file in DB format (named asciisave01.txt)

It could be much better, but apart from the extended symbols, it did what I wanted it to. Who knows, I might even get back to actually doing Frogger!


(Yes it's clunky, yes it's fairly unuser friendly, and yes I'm sure you could do evil things if you tried to undo too far, or something (and yes, the colour selection window could be greatly improved, there's a LOT of colours missing) but hey ) (Oh, and it has one use of 'box' in it - for the colour options, but making a colour picker in ascii was beyond my patience tonight )
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Oct 2005 00:11 Edited at: 14th Oct 2005 00:47
hey thats pretty good

[edit]

you know what would rule, if you played whereever i may roam by metallica suring the game kinda makes sense


Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 14th Oct 2005 19:06
Cool this looks good but can we do it in 3d?

Platformer soon to be wip you'll like it
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 14th Oct 2005 19:17
No. It's
or
only.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 14th Oct 2005 20:15
Unless you really want a challenge, in which case you can try and make a 3-d game using the text command!

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Oct 2005 20:33
that would rule!


Whistlin Trev
19
Years of Service
User Offline
Joined: 11th Feb 2005
Location: Battle of Nevermore
Posted: 14th Oct 2005 21:31
well this is my entry so far, but theres still no collision (which fully works) and still trying to make that right but here it is at the moment

Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 14th Oct 2005 21:32 Edited at: 14th Oct 2005 21:32
Quote: "Unless you really want a challenge, in which case you can try and make a 3-d game using the text command! "

That reminds me of underlord's avatar. (coding yourself into a bloody pulp)

"We make the worst games in the universe."

Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 15th Oct 2005 11:40
*trys to find function* i can make 3d text on to a plane and hide the plain would that be ok?

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 15th Oct 2005 21:34
Approx. 4 and a half hours to go!!

(And Darkbasic MAD, probably not - if you hid the plain, you'd not be able to see the text anyway )
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 15th Oct 2005 21:38
ok best leave that out

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 15th Oct 2005 23:55
is this compo over at midnight server time or local time for the challenge setter?
---------------
+ + =

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 00:05
I believe it states midnight tonight, GMT. So that'll be somewhere in the afternoon for Texans and such.

2hrs to go, by my computers clock (well, give or take 5 mins)
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 01:09 Edited at: 16th Oct 2005 02:10
well, here goes nothin'.
i can't quite figure out how to get the anti-collision working
in the water area. but everything else works if you rem out those
parts of the collision code. will be working on this for a while
'cause my clock says i have an hour left. but good luck to
everyone else...

line count upto 260
the reason for everything being in arrays instead of normal vars is that for some reason my dbp refuses to accept vars declared unless they are defined emidiatly(sp).
[edit] finally got the frog to stay on lilly and gator, just gotta get it to die when it hits water.

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 02:15
Okie! Here's mine, though I fear I'm a tiny bit late :/



Didn't manage to get things like 'lives' in, or the turtles, or the logs dragging you along, but I tried
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 02:20
you are the ascii ninja

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 02:24
I liked your synchonised swimming crocodiles/alligators, actualy
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 16th Oct 2005 02:25
@Tinkergirl - that's just brilliant! Go to be a winner surely.

I still haven't finished last week's terrain challenge, let alone have a stab at this one. Where does everyone get the time?

Boo!
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 03:57
@tinkergirl: thanks, that was actually completely accidental.
Thought i had it set right for randomized placement on x axis.
Oh, well.

@spooky: well, i get up at 5am and am back home after work by 5pm, and don't really have much to do here in ElPaso.
But am usually up until 12am.

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 16th Oct 2005 04:29
I forgot about the fact that with a midnight (my time) deadline, then much of the 24 hours judging time for me will be spent asleep!

So, with your permission, I'll give you another few hours to finish of and test what you've done. I can then check out all the entries during the day (Sunday) and announce the winner Sunday evening (GMT).

Hope that's OK?

TDK_Man

sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 04:35
works for me. will post a final entry in a few.

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 16th Oct 2005 05:07
Tinkergirl, WOW!
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 07:28
ok, i think this is about as far as i'm going to get before TDK wakes up, so here it goes.
MY FINAL ENTRY FOR FROGGER....


-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 12:37
Ok, final entry for me!



Not suitable for children under 1 due to extreme froggy violence (kindof).
Good luck everyone!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Oct 2005 13:50 Edited at: 16th Oct 2005 14:01
oh well, can't be bothered fully finishing mine.. here you go




[edit]

wow, tinkergirl! i love it!!1!


Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 13:55
Shame you couldn't finish it, Zotoaster, I really liked the exhaust fumes and your frogs walk anim is very cute
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Oct 2005 14:48
heh, oh well thanks anyway


Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 16th Oct 2005 17:36
Good god. Tinkergirl's version of frogger is bloody amazing.

An entire game in under 200 lines and here I am with my game on > 20,000 games and its still nowhere near complete. Talk about being made to feel like I'm not smarter than the average bear ...

Philip

Cheer if you like bears! Cheer if you like jam sandwiches!
P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 18:33
ok, i know it's too late to use this for in the competition, but i have been refining my entry, and this is the public release of it.
if you want to download the .exe instead, just hit up my website.
@TDK: please use the one Posted: 15th Oct 2005 22:28 up6.


-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 16th Oct 2005 19:36
Wow! Some really amazing entries here on this one! Great competition TDK!

Tinkergirl - that's amazing!


Open MMORPG: It's your game!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 16th Oct 2005 20:49
OK - well done to those of you that managed to get your entries working enough to submit.

It wasn't the easiest of challenges I know so I have to say that I was surprised to see that you all made the challenge more difficult for yourselves by adding extra road and water lanes.

They were all admirable attempts though!

I had hoped to make a completed version of my own, but one of my clients requested an urgent revision to some of my software and I was sidetracked for a few days.

I've posted what I had done up to that point below. It's nowhere near finished, but like the majority of entries, it was getting there...



The Challenge Results

The challenge was not easy - using ASCII is not something programmers do any more. So, I think most attempts were getting there, but just needed more time to do it.

Ric:

Definitely got the basics up and running - just needed more time.

Sizer:

Nice effort, though far too many lanes and smooth moving of frog made it pretty damn difficult. Liked it!

Tinkergirl:

What can I say??? The 'artistic streak' you have definitely shows through. Excellent use of ASCII. The only one I actually managed to complete.

A couple of collision problems with vehicles going at different speeds in the same lane and passing through each other, but hey who cares when it looks so good!

Whistlin Trev

This entry wouldn't run for me. I was curious so I fixed the few syntax errors. It ran so fast, all I saw was a blur. With a bit of timing added, it would have been much better.

Zotoaster:

Liked the frog walking animation, and the vehicle exhaust. Nice touches. I daren't ask what was being emitted from the crocs though - lol!

The frog was slow to move compared to the traffic, so I found completing the game impossible. One of my favourite entries though.


I found it difficult to make constructive comments on the entries because essentially, nearly all the authors just needed more time.

Anyway, it's probably no surprise to discover that the winner was:



TDK_Man

sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 21:01
kiwis for tinkergirl

way to go, just ran yours, freakin awesome.

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Oct 2005 21:03
well done tinkergirl, I look forward to seeing what you'll come up with..


P.S. TDK, who were the runner ups?


TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 16th Oct 2005 21:32
Sorry - didn't know there had to be any.

If so:

Third Place - Sizer.

Second Place - Zotoaster.

TDK_Man

Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 21:34
Cool! Ta everyone!

I had worried that my 'pretty graphics' would put me at a disadvantage, and that someone else who'd focused more on gameplay would thrash me

Excellent choice of challenge TDK, and I liked what I saw on your unofficial entry. Nicely chunky, though those cars looked vicious!

I'll post a challenge in a few minutes, once I work out the details
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 22:05
As it's coming near to that time of year, I thought I'd suggest something very slightly seasonal. Alas, I'm a few weeks too early for it to be properly on time, but I liked the idea too much to dump it

New Challenge: Fireworks Display!

You can do 2d, or 3d, ascii or polygonal, use box or cube - any, I don't mind. The aim is to make the most impressive, no-media fireworks display.

Some ideas -
Look into the built in particles for a quick start (hint, there's an old 20-liner that you might want to search for).
Maybe do some trajectory work for the launch of your fireworks - not required, but nice.
Think about having your own animated, masked, textures on expanding spheres for fire shell effects.
Maybe some subtle use of lights might help, or maybe you'd rather do without.
Maybe give the user the option to choose the colour/s of fireworks?
Think about a generated nightsky background to offset the colours of your fireworks. 3d people, that may mean skyboxes.

This seems like it couldn't really support two weeks (not after how much people did in one week with Frogger!) so 1 week from now.

Deadline: Sunday 23rd October. 8pm GMT.

Any objections?
sizer
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: texas
Posted: 16th Oct 2005 22:12
gonna need lotsa for this one, and maybe a .
haven't got a clue how to do 3d stuff yet, let alone particles.
gonna have to sit this one out.

-------------------------------------------------------------
AMD Sempron 2800+ : 768MB RAM DDR400 : ATI 9800PRO 128MB AIW
Tinkergirl
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location: United Kingdom
Posted: 16th Oct 2005 22:16
Aw, not even with this to help?

I hadn't wanted to exclude anyone.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 17th Oct 2005 01:03
Yes, it's a shame it wasn't a week later - you could have made the deadline the 5th of November. Would have been cool.

For any of you 'non-Brits' out there, for us, the 5th of November is Bonfire Night where we celebrate the anniversary of Guy Fawkes who famously tried (and failed) to blow up the Houses Of Parliament with gunpowder on that day back in 1605.

Since then, we have celebrated the event of his failure with fireworks and bonfires - ceremoniously burning an effigy of Guy Fawkes on the bonfire.

When I was a kid, on the days leading up to the 5th, we hiked around the 'guy' that we had made, asking passers by for a 'penny for the guy' so we could buy fireworks.

These days, that doesn't happen because fireworks can't be bought by kids any more (if indeed anyone can) and sadly, the streets aren't really safe enough for kids to do so at night.

Anyway, looking forward to having a bash at this one - so long as I don't get any more distractions from my clients...

TDK_Man

Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 17th Oct 2005 01:14 Edited at: 17th Oct 2005 01:15
Oops - went away for a couple of days, got back, and realised I missed the Frogger deadline! Not that it would have made any difference, as I'm sure my entry wouldn't have come close to the other entries anyway. Tingergirl's especially - the fact that it's no media is amazing enough, but that it's all done in ASCII is just ridiculous! Great work!

Ok - so, fireworks eh? I have a cunning plan.

Segan
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Canada
Posted: 17th Oct 2005 03:46
Wow! That was a great competition! I'm really sorry I couldn't get involved with it (alas, as many have already said in this topic, life happens...)

And for the fireworks one... Darn... Away again... Ah well, will definately be in on the next one!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 17th Oct 2005 07:37
this might help as well

Look at all the new ppl viewing these challenges.

And c'mon guys, you let a girl beat us with computer stuff? for shame....

I hop in this week if I have time.


Deadly Night Assassins

Login to post a reply

Server time is: 2024-11-23 18:13:01
Your offset time is: 2024-11-23 18:13:01