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
Darth Vader
21
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 22nd Jul 2006 14:06
I haven't done anything!


I have the longest Biog under my profile button!

"You don't know the power of Dark Basic Pro!"

-Darth Vader-
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Jul 2006 06:19
2 days left, isn't anyone alive here? This thread has nearly died.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 23rd Jul 2006 06:41
@Phaelax, I'm always here, dropping by nearly every day, just too busy this last month to write any code, maybe this next challenge.
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 23rd Jul 2006 19:31
Just over a day left, start posting up your finals all.
Dout Dout
Dout Dout
Dout Dout
Dout dout dout dout dout <--(bad spaceinvader sound effects)

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Jul 2006 04:25
Current entry.


"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 24th Jul 2006 11:56
Should we have an extension to this challenge? It seems a good challenge - however it also seems that a lot of people could do with more time.

[center]
Darth Vader
21
Years of Service
User Offline
Joined: 10th May 2005
Location: Adelaide SA, I am the only DB user here!
Posted: 24th Jul 2006 14:51
I was going to enter, but have been a little busy! Life!
Plus I have also been updating Hrobox Racing! version 1.4 will be in the program announcments soon!


Website under construction Sponsered by Galekus http://ideal-entertainment.galekus.com
The end is near
21
Years of Service
User Offline
Joined: 19th Jun 2005
Location: USA
Posted: 24th Jul 2006 21:12
Wouldn't that conflict with rules Nic?
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 24th Jul 2006 21:28
I dont think there is a rule to disallow extensions... In fact, its been done before.

[center]
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jul 2006 04:27
I'm ok with an extension, as long as some ppl actually need it. So far, I think there's only 3 entries counting my own and nothing new has shown up yet. Who's judging this one anyway? We'll let him decide.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 25th Jul 2006 04:31
I will have to say no extension on this one, The entries I have seen so far look pretty complete. We set this one up to be a simple challenge and 2 weeks should be more then enough for anyone who wants to give this a go. As of right now there are 2:30 minutes left before I take a final look at the entries, good luck all.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 25th Jul 2006 04:45
Ok here is my final entry.

Good luck to all who enter!
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 25th Jul 2006 07:00
Arg! I posted my program about 2 hrs ago but because I'm a new member to the forums they have to read over my post. It is now 12:00 est and my post hasn't shown up yet. I hope that you can either count my latest posting of my code as my entry or except my late one. If you can't I completly understand.
Aaron Miller
20
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 25th Jul 2006 09:48
Who's the winner? I want to know the next challenge

Did you ever dream of creating a professional 3d game, easily, and fast? Game Developer
http://forum.thegamecreators.com/?m=forum_view&t=84124&b=8
Be Ruler of your World...
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 25th Jul 2006 11:17
Damn I was looking forward to trying this one - just been so busy recently! Good luck to all! And can the judge please attache a zip of all the entries so I can easily add them to the database please

[center]
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jul 2006 18:16 Edited at: 25th Jul 2006 18:17
spopovich, i can shoot through the aliens sometimes. And are the aliens suppose to look this big and overlap?



"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 25th Jul 2006 19:16
@Phaelax
I played through my game and I didn't run into the problem of the very large aliens. I looked through my code to see if there was a scale object that was messed up but couldn't find any. Has this problem happened multiple times or only once? As for the bullets going through the aliens that has happened to me too. I think I'll fix it later... maybe... if I'm not too lazy.
sneaky smith12
20
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 25th Jul 2006 20:39
really great reconstruction from my perspective.

although i think the bullets fire to fast... I was never able to get past round two in the origanal game.

But seriously 1950 lines of code means props to you.

If at first you dont succeed, LOWER YOUR STANDARDS.
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 25th Jul 2006 21:03 Edited at: 25th Jul 2006 21:07
OK all here are the results, sorry I didn't post them sooner.

As you remember there are three categories to my judging

Playability (smooth gameplay, do I know it's space invaders) max 50 points
Accesability (Can it be played by anyone with cat like reflexes or very poor coordination and still be challenging for each) max 25 points
Originality (What sets your version apart) max 25 points

So lets get down to it.

Thomas FN, sorry I didn't judge your at all, It was full of media, an .exe, and a 4.5 mb download, none of which fit into the spirit, or rules of the chalenges.

Lower Logic
This looked alot like space invaders, but was an incomplete entry to bad. I think this could have been a really good version if you had completed it.


End is Near
Good start with the menu, I was hoping to see a good accesible game here. Would have been nice to see this completed.

Image All
The ship looked really nice, and this looked to be the entry that was going to break from the original graphics, but alas all we have is a ship on a starfield.

Spopovich
This version had alot to offer. It included difficulty settings, two game play modes, a sort of power up with the time stop alien, and a great introduction adding story to the game. The most original and accesible version.

Phaelax
Perfect gameplay, the only person to get the shields right in my opinion. The tumbling, swearing aliens were hilarious. Only one to include the alien craft that flys across the top also. The bullets and base felt right speed wise compared to the aliens also.


So without further adieu

Runner up


The winner



I didn't post how I individually scored the entries, but if anyone wants my breakdown let me know and I will email it to you.





MY Suggestion for the next challenge, A code formatter. We all have seen people post their code in need of help with nothing indented and looking all a mess. How about a program that takes the code (as a db file or textfile) and formats it into something not so hard on the eyes.

Or a utility to take sode from the 25 line challenge and decompress it, perhaps with the above formatting added in.

Nick the files are attached

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jul 2006 21:58 Edited at: 25th Jul 2006 22:15
Quote: "MY Suggestion for the next challenge, A code formatter"

It's been done, I forget who won.

Quote: "Perfect gameplay,
only person to get the shields right
Only one to include the alien craft "


Given that much credit (thanx) its a wonder how I lost.

spopovich, i get the giant aliens every time. Nice title screen btw.

I have an idea for a challenge I been toying around with for awhile, raycast engine(wolfenstein3D, doom). Requires some knowledge of math, but nothing so advanced that you couldn't follow well written tutorial. Of two tutorials I've read, it said there's only camera rotation on the y-axis, so just turning left and right. But I'm pretty sure there's a way to look up and down. Points could be on overall speed of engine performance, ability to texture walls, light effects. If nobody wants to do this, I think I'm gonna make a personal project of it anyways.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 25th Jul 2006 22:12
I can't figure out the giant alien thing. Anyway, I just want to say Phaelax your game was amazing. It was because of you that I added things to my game. I would see the amazing stuff that you did and then try to add somthing to my game. You gave me alot of great ideas so thank you. I've had a few ideas about the next challenge but I am also open to many sugjestions. My first idea was for people to make a science project somthing that would be able to teach people a little about a topic. Which could be anything, from gravity to quantumphysics. My other idea was to make an annimation program. somthing with a nice graphic user interface that would allow people to make annimations by either making media in dbpro or inporting media. I don't know the more i think about my ideas the worse they sound to me. So please help me out!
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jul 2006 22:17
Thank the wee lit'l girl living with me. She wouldn't let me stop coding until I added everything she wanted.

I edited my post just above yours incase you haven't caught it.

I tried to figure out the giant alien problem, no luck.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 26th Jul 2006 00:56
The code formatting challenge was won by Ric

[center]
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 01:48
Yeah I saw that one, It looked to me like a utility to compress a bunch of code down into 25 lines. I was saying something that is a little different. It could take those compressed lines and re expand the code and properly indent it, or take a bunch of unformatted code and make it into something readable. Just my thought on something. I find alot of times if I want to help out someone on the forum their code can be near impossible to read unless I take the time and format it to make it readable.

Other then that we could stay with the easy game theme to try to get more people, or make it a little harder, something like say Tempest.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 26th Jul 2006 01:56
@Phaelax - I liked your version the best!
I love good graphics and effects, your had them, well done!

Your third level might be a little too hard, too many alien shots.
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 26th Jul 2006 02:36
I think raycasting might be a little to hard though I'd like to here what other people think about it. After talking with my dad he suggested pinball, which I think would make a good chalenge without being too difficult. I like the idea of tempest too. Please post more ideas and your opinions, I'll decide later tonight.
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 02:51
Quote: "@Phaelax - I liked your version the best!"

Phaelax I have to say that when I want to play one of them, this is the one I would choose also, I loved this version. The only reason I did not pick it as the winner was that my challenge had three criteria, and unfortunetly You left one of them out completely, and I did think Spopovichs version was a little more original. Sorry, who knew being a judge was so darned hard.

Spopovich, I really like the idea of tempest, but pinball could be cool also. I do not think either however will be as easy as space invaders.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jul 2006 03:27 Edited at: 26th Jul 2006 03:29
Quote: "I think raycasting might be a little to hard though "

When I think coding challenge, I think of something that I'm not sure if I can do. No offense to anyone, but I'm kind of tired of seeing games as coding challenges because we're actually being tested on our overall game design rather than specific coding techniques. Just my opinion.

Pinball sounds ok, at least there's more to the game movement than just saying X=X+1.

I've never played tempest actually.

Oh, just thought I'd mention, I bought a space invader cartridge for my atari yesterday. Bought 11 games actually, never new super mario was on atari.

Just in case it was unclear, i vote on pinball.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 26th Jul 2006 04:02
I vote pinball, both 2D & 3D entries allowed.

(or)

A 3D menu system for game options, instructions, play, etc. with functions that can be used in any game!
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 04:19
Quote: "When I think coding challenge, I think of something that I'm not sure if I can do. No offense to anyone, but I'm kind of tired of seeing games as coding challenges because we're actually being tested on our overall game design rather than specific coding techniques. Just my opinion."


I agree with this, I only picked a game because it seemed to be the consensus that challenges like that draw more people, though I must say there were only two complete entries this time, and more people is good for the challenges. With the lack of a printer option, I would like to see a challenge to say input/output formatted text and graphics to MS Word. Or perhaps a client/server for handling pen and paper RPG's. In general more challenging things that have a real use.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 26th Jul 2006 05:09 Edited at: 26th Jul 2006 06:29
Ok the next challenge is pinball.
I will judge bassed on three things.

Physics 50% does the ball go where it is supposed to.

Originality 25% do you have a lot of cool gizmoes on your table.

Is it fun 25% is it a pinball game that is fun that people will return to play or just a one time thing.

I think a week is a good time limit, so lets set the ending date for Tuesday, August 1st at 12 midnight. Good luck to all.

Edit: I'll add an extra week so the new deadline is Tuesday August 8 at 12 midnight.
The end is near
21
Years of Service
User Offline
Joined: 19th Jun 2005
Location: USA
Posted: 26th Jul 2006 05:27 Edited at: 26th Jul 2006 05:28
sounds good, i going to use ode.
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 05:51
I take it we are limited to just the core DBpro, or can we use plugins?

and

Wow, a week? to set physics and due to the fact that most of us must work on this in our spare time I would hope for at least 2.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 26th Jul 2006 06:27
Yes simply DBpro is allowed. Since I'm out of school I have completely lost track of all time so I think 2 weeks is reasonable. I will extend the deadline to Tuesday August 8 at 12 midnight.
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 06:41
Here is a start, I think I am going for the 2d vector look since I have tempest on the mind. Right now just some flippin paddles, controlled with "z" and "/"



http://www.cafepress.com/blackarrowgames
Check out my great stuff here
Aaron Miller
20
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 26th Jul 2006 08:03
Quote: "Oh, just thought I'd mention, I bought a space invader cartridge for my atari yesterday. Bought 11 games actually, never new super mario was on atari."


You sure that wasnt pitfall?

Did you ever dream of creating a professional 3d game, easily, and fast? Game Developer
http://forum.thegamecreators.com/?m=forum_view&t=84124&b=8
Be Ruler of your World...
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 26th Jul 2006 09:00
Quote: "super mario was on atari"

was it super mario or mario brothers? I know the original was on the 2600. Mario Brothers is the one where turtles, crabs and other nasties come out of the pipes and you have to flip them over then kick them off.

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
The end is near
21
Years of Service
User Offline
Joined: 19th Jun 2005
Location: USA
Posted: 26th Jul 2006 09:02
It was on NES first!
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jul 2006 11:07
Quote: "I would like to see a challenge to say input/output formatted text and graphics to MS Word"


now thats the stuff I like to try, file formats.

Quote: "Mario Brothers is the one where turtles, crabs and other nasties"

yea it was that one. im disappointed though, the space invaders didn't run.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 26th Jul 2006 18:16 Edited at: 26th Jul 2006 22:04
Even though I can't enter I still wanted to try out this competition because it looked challenging. Here is my begining attempt at some ball physics.

right and left arrows to move the flippers. I have very little collision so far but I'll be working on it.
RiiDii
21
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 27th Jul 2006 11:00
I'm cheating big time here. But if anyone wants to learn from this, go over to the 20 line challenge about two pages back.




Open MMORPG: It's your game!
Drac
22
Years of Service
User Offline
Joined: 10th May 2004
Location:
Posted: 27th Jul 2006 13:12 Edited at: 27th Jul 2006 13:12
I'm assuming this is medialess

Do, or do not. There is no try.
-Yoda
Spopovich
19
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 27th Jul 2006 17:09
Yes no media is allowed.
David Gervais
Retired Moderator
20
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Jul 2006 17:12 Edited at: 27th Jul 2006 17:39
I know it's blasphemous, but this latest challenge seems to be in line with my dismal failure to get interest in a 'minimalist' media challenge. So here is that same 'minimal' graphic for your viewing pleasure. If it is adopted for this latest challenge, I might even be so happy as to renew my offer to provide some custom graphics for the winner.



Cheers!

Go ahead ban me from the forums for posting a pic in the coding challenge thread, come on I dare you.

Oh and here is a .png version with transparency alpha chanel..



EDIT: RiiDii when I run your code snippet I get the error "Constant name 'A_Constant' must also be provided with a constant value" Is this an oops?

Edit v2.0 RiiDii, I went and saw your 20 line pinball, it's amazing for 20 lines. I take it the above post is an edited version of it?
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Jul 2006 19:05
Simple ball physics. Mouse buttons rotate direction of force applied, spacebar applies the force. The bottom of the screen acts as a flipper, hence the same constant force always results when it hits. I'm posted largely incomplete code because I'm not sure if I'll be finishing it.



"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
RiiDii
21
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 28th Jul 2006 10:49
Quote: "EDIT: RiiDii when I run your code snippet I get the error "Constant name 'A_Constant' must also be provided with a constant value" Is this an oops?"


Probably more of an older DBP or IDE version issue, although I tested it on my pc before posting it here. But then again, I am still running DBP 5.9 with the old IDE. To squeeze it all into 20 lines, there were some loop holes I exploited using the old IDE. If you try the uncompressed version, it might work.

Quote: "Edit v2.0 RiiDii, I went and saw your 20 line pinball, it's amazing for 20 lines. I take it the above post is an edited version of it?"

Should be the same version, just compressed. I copied it straight from the post I made on the 20 line challenge.


Open MMORPG: It's your game!
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 29th Jul 2006 14:47
Just a quick update - my dbp-site.com is back online after my hosts changed data centers. I've also added the paint and space invaders challenges.

[center]
The end is near
21
Years of Service
User Offline
Joined: 19th Jun 2005
Location: USA
Posted: 30th Jul 2006 10:05
somebody needs a good challenge to bring back this thread!
THIS THREAD IS ALMOST DEAD!

My current savings for the PS3 is: $486.00 out of $600 !!!
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 30th Jul 2006 10:53
@The End is Near - I don't consider this thread dead at all. A diverse series of challenges, enthusiastic participants, and some very clever code being generated by one and all.

If you really cared about this thread, then you would participate in as many challenges as you can! I do hope you get something submitted like you said you would, because the more programmers involved the better it is for all DBPro users.

So, I guess I am suggesting that you stop complaining, and get to coding a pinball game. That is the best way to learn DBPro, and the best way to keep this thread going strong!
Hobgoblin Lord
20
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 30th Jul 2006 14:18
Don't know if I will have time for this one, Dave has helped me inject new life into a project and I have been working on it pretty much non stop, aside from the fact that I am not all that into making a pinball game .

http://www.cafepress.com/blackarrowgames
Check out my great stuff here

Login to post a reply

Server time is: 2026-07-09 16:07:28
Your offset time is: 2026-07-09 16:07:28