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
Crazy Ninja
20
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 10th Apr 2007 07:48
Dang wish I had a little more time to have a try at this, even though I haven't coded in a while. Oh well, hopefully the next challenge will be something I can do.

Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 10th Apr 2007 08:29
Congrats Code Dragon. Great to see something original come from this challenge - at least I've never played anything quite like that before. I think it would be quite good as a one player strategy game with perhaps even more paddles which need adjusting to hit the goal. Certainly lots of potential there.

So - what's next?

Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 10th Apr 2007 19:36 Edited at: 10th Apr 2007 19:40
There was an idea for a game I had a few months ago which could be done in a media-less challenge... Think Bomberman without a grid.

Create a set of random rotated crates (all same size). There would be 2+ players in the "arena". To see where someone is, you need line of sight. This means you can hide behind crates. View wouldn't be 3rd person - more Isometric/overhead.

You could make is a laser/bullet based shooter. You could make it so you fire homing missiles which you have to take out on a crate rather than yourself if you want to live. Crates could have physical properties to let them move if pushed. If you went for a closer clone of Bomberman - you could let people place bombs but let crates shield you. Crates could get blown apart/out of the way.

Just a thought by someone bored at their desk at work...

[center]
NA170425
User Deleted
Posted: 10th Apr 2007 23:26 Edited at: 10th Apr 2007 23:28
Yay, that's the first challenge I've won. I've never played Bomberman so I don't think it would be a good idea to try and judge remakes of it. Maybe for the next challenge.

Challenge: Dig Dug
Deadline: 2 weeks (April 24)

Quote: "I think it would be quite good as a one player strategy game with perhaps even more paddles which need adjusting to hit the goal."


It does somewhat support that, you can have a third paddle mouse controlled but I didn't use it because I needed the mouse for the camera. You can, though, make multiple paddles controlled by the same player. Here's the level file format if someone wants to do a level like that:



By reading this sentence you have given me brief control of your mind.
acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 10th Apr 2007 23:52
Is that a re-make of Dig Dug, or a game similar to Dig Dug?
I like Mr. Du myself. Similar to Dig Dug.

( 2b || !2b ), that is the question. The answer: true
NA170425
User Deleted
Posted: 11th Apr 2007 01:47
Mr. Du would be ok. Feel free to add to the gameplay and change it around, it's not strictly a Dig Dug remake.

By reading this sentence you have given me brief control of your mind.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 12th Apr 2007 10:35
Hey Ric, your game went too fast for me, I lost 3 matches in about 5 seconds! But nice graphics as usual.

Code Dragon, I just couldn't figure out how to work your game. I moved a little square around as a lot of balls bounced off and just went into space. Very difficult to align in the rotating 3D perspective.

DigDug? Me thinks me needs to whips out the nintendo again for a reminder.

NA170425
User Deleted
Posted: 13th Apr 2007 00:00
Was something wrong with the camera? Be careful not to touch the mouse while the camera is zooming in and says "Level x: Blah" or the view might jump a bit. You can use the mouse to move the camera and the wheel to zoom. (It uses spherical coordinates that's why it's a rotating perpective)

By reading this sentence you have given me brief control of your mind.
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 18th Apr 2007 04:44 Edited at: 18th Apr 2007 04:44
What's Dig Dug? Sorry I've never heard of it...

btw code dragon ur game was really cool

And ric's graphics were realy cool too.

Those are the only ones I looked at...

NA170425
User Deleted
Posted: 18th Apr 2007 21:16 Edited at: 18th Apr 2007 21:21
Thanks. I might add more levels and put the game on my website when it's finished.

Dig Dug is basically a game where you tunnel underground and blow up enemies. I've only played remakes of the original on the Xbox and DS myself. For more info, wikipedia never lies. You might be able to find a flash game of it on the net too.

http://en.wikipedia.org/wiki/Dig_Dug

[edit]

Oh dear, actually it does lie. Someone's been messing with it:

Quote: "Dig Dug is an arcade game released by your mom"




By reading this sentence you have given me brief control of your mind.
Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 19th Apr 2007 01:24
Quote: ".... and had many arcade and home lobsterss.
"


I think that it should be 'clones' not lobsters.

That's the problem with an encyclopedia who's authors can be five year olds.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Apr 2007 02:21
I got an idea for a future challenge, Qix. I believe it was called Trix on the Amiga, but it was a fun puzzle-like game.


Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 19th Apr 2007 13:14 Edited at: 19th Apr 2007 13:15
I had a similar game to that for the Acorn Electron called 'Frenzy' by Micro Power.

I remember it fondly!

http://www.bbcmicrogames.com/screenshots/frenzy.jpg

Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 20th Apr 2007 02:28
Oh okay thanks Code Dragon Seems a bit too complex for me.

Quote: "Quote: "Dig Dug is an arcade game released by your mom""

LOL

Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 25th Apr 2007 01:36 Edited at: 25th Apr 2007 01:38
The deadline has arrived, and there have been no entries for this challenge - so we need a new challenge. In accordance with the rules, Code Dragon remains the current challenge setter.

I suspect a Digdug remake was a little too specific, and also a little too involved - not something you could just have a bash at in half an hour, but something that needs careful planning. I suggest, to get the ball rolling again, the next challenge should be a one weeker, towards the easy end of the spectrum and general enough to allow for peoples different interests.


Some suggestions:

- A memory game: any game that tests your memory.

- A reaction game: anything that tests the speed of your reactions.

- A maths challenge: any program that calculates something useful - like Pi, the day of the week you were born, a random number generator, etc.

- AI challenge: any program which involves flocking/swarming of entities

- Physics challenge: any program that invoves projectile motion

Inverted
19
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Oregon
Posted: 25th Apr 2007 04:11
Cmon code dragon, select a challenge; iv never entered before and wanted to try


Lawl
Veron
19
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 25th Apr 2007 11:46
Quote: "- A memory game: any game that tests your memory."


I'm in on that, and you're in the same boat as me, Inverted! All we need now is Code Dragon...


Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 25th Apr 2007 15:23 Edited at: 25th Apr 2007 15:35
How about my idea above from 17th April 17:36?
Quote: "There was an idea for a game I had a few months ago which could be done in a media-less challenge... Think Bomberman without a grid.

Create a set of random rotated crates (all same size). There would be 2+ players in the "arena". To see where someone is, you need line of sight. This means you can hide behind crates. View wouldn't be 3rd person - more Isometric/overhead.

You could make is a laser/bullet based shooter. You could make it so you fire homing missiles which you have to take out on a crate rather than yourself if you want to live. Crates could have physical properties to let them move if pushed. If you went for a closer clone of Bomberman - you could let people place bombs but let crates shield you. Crates could get blown apart/out of the way.
"


For example...

If it needs explaining, let me know

[center]
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Apr 2007 21:09
Quote: "View wouldn't be 3rd person - more Isometric/overhead"

Isn't that more or less what 3rd person view is?


NA170425
User Deleted
Posted: 25th Apr 2007 22:07 Edited at: 2nd May 2007 13:59
Sorry I couldn't do this yesterday, I wasn't sure what to do if no one entered. I like Ric's idea for a reaction game so that'll be the new challeng.

New Challenge: A reaction game
Deadline: 2 weeks (May 9)

It can be a test of how fast someone can click the mouse or type something after a visual cue, but feel free to try something else.

By reading this sentence you have given me brief control of your mind.
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 25th Apr 2007 22:12
Quote: "Isn't that more or less what 3rd person view is?"

I thought 3rd person was where the camera was locked behind the player (like tomb raider). I'm talking about a fixed camera position... more like... err... Diablo?

[center]
Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 25th Apr 2007 23:53
Interesting idea Nick - looks a bit specific for a coding challenge, but could be broadened quite easily to something like 'make an overhead shooting game'.

As for the new challenge, I'll post something on the main board - things need livening up a bit around here after the last couple of weeks!

Crit
20
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 26th Apr 2007 03:44
Hi everyone, I finally had time to enter another challenge!

Here is a color matching game. It started out as rock/paper/scissors, but I thought it played a little better this way.

Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 26th Apr 2007 12:42
Simple but strangely addictive! My best is 28 so far.

Kiefer Greenspan
22
Years of Service
User Offline
Joined: 11th May 2004
Location: NY
Posted: 30th Apr 2007 04:36
30 yaa
gadgetfreak 66
19
Years of Service
User Offline
Joined: 26th Sep 2006
Location: Kulin,WA, Australia
Posted: 30th Apr 2007 09:53 Edited at: 30th Apr 2007 09:53
34.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Apr 2007 10:30
I got 32


Inverted
19
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Oregon
Posted: 1st May 2007 06:29 Edited at: 1st May 2007 06:30
This is my entry:



Im still kinda a nube at coding.
But i like the turn out of this, all in only 75 lines


Lawl
Veron
19
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 1st May 2007 14:43
So far my best on that, Inverted is 20. Soon i'll put out my keyboard test, when I figure out how to read keypresses properly from an alphabet array.


Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 1st May 2007 14:46
Nice one! Got 220 about five times in a row! Again, the simplicity is what makes it good - it's addictive. Must .... beat ..... 220 .... arghhh!

Inverted
19
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Oregon
Posted: 1st May 2007 17:55
Thanks you guys,
I really feel that these coding challenges really help my skills in coding. Im going to make it so some times white boxes apear which give you 2 extra seconds.


Lawl
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 1st May 2007 19:39
Quote: "I really feel that these coding challenges really help my skills in coding. "

It helps everyone - beginner or elite. Everyone can learn from everyone. God knows I've picked up some good tips from this!

[center]
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 1st May 2007 20:33
Here's my entry so far. Just point and click, just have a little respect for the guy you're shooting and don't hit him in the nuts.




Inverted
19
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Oregon
Posted: 2nd May 2007 01:21
Nice one phalex


Lawl
LongFist
22
Years of Service
User Offline
Joined: 25th May 2004
Location: Winston-Salem, NC
Posted: 4th May 2007 14:12
Okay, I've gotten an idea, but it's so much like Inverted's project I'm afraid to post it. What are the rules (I've read the 10 posted) regarding this sort of thing? I'm not here to steal Inverted's thunder...

LongFist
SuperProgrammer For Hire
Jimmy
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 4th May 2007 16:48 Edited at: 4th May 2007 17:07
I GOT one!

WASD = Move
Space = Jump
AGH = Name of game.

TIP: Don't shoot until your cross-hairs turn red.

TOo be added:
Sounds
Increasing degrees of difficulties




Good luck!

NA170425
User Deleted
Posted: 5th May 2007 01:01 Edited at: 5th May 2007 01:08
Awesome! It just needs some way to get health back.

Inverted, I can't get your game to run. I press a key and nothing happens.

[edit]
Got it to run in debug mode, but the game never ended.

I don't have a sig right now. Sorry.
Inverted
19
Years of Service
User Offline
Joined: 19th Nov 2006
Location: Oregon
Posted: 5th May 2007 01:39
Um code dragon. It works for everyone else.
So i dont know. Its not graphics demanding, do you have the latest DBP?


Lawl
Spopovich
20
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 5th May 2007 02:13
Here is my entry, a simple gunfight involving two stick figures. You have to hit enter as quick as you can after the word draw. It shows you how many milliseconds it took you. If you wait too long your opponent will shoot. The difficulty slowly increases, try to get as many wins before you get shot.



Do not ask what the forums can do ask what you can do for the forums.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th May 2007 08:07
nice animation spopovich.


Jimmy
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 5th May 2007 08:52
Yeah, that's a nice one, Spopovich.

The first time I ran it, I waited for about 20 seconds with an impending anxiety attack, and had to exit before I passed out.

It's all good now.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th May 2007 05:02
Today is the deadline.

btw, whats the link to the DBP challenge website? I wanted to put a link to it from the DBC site.


Veron
19
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 10th May 2007 13:15
I think it's http://www.dbp-site.com


[center]
Nicholas Thompson
21
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 10th May 2007 14:18
It is indeed - however I haven't updated it for AGES (no time).

I'm plannig a relaunch far more features and better navigation.

I also want to link it up to a help section/wiki rather like the one Jess had.

[center]
NA170425
User Deleted
Posted: 10th May 2007 16:52 Edited at: 10th May 2007 16:55
Sorry for missing the deadline (again), I've had a virus (human type). But I'm feeling better today so it's judging time.


Crit: Very nice (and addictive!) fast paced color matching game.

Inverted: Very simple but again addictive click-the-box game. Sorry for my compiler being stupid and not running it in normal mode though.

Phaelax: Cool shooting stress reliever, I like how it shows the statistics of how fast you are at shooting the guy.

Jimmy: Cool FPS style reaction game based on Sphere Extermination, it always keeps you running around if you misfire to avoid the deadly spheres.

Spopovich: Interesting dueling game based on taping space as fast as possible so you don't get shot.

Runner Up


Winner


"Once there was a polygon mesh who was very sad because he was only Gouraud shaded."
Spopovich
20
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 10th May 2007 23:31
Wow can't believe that I won. . As always those were some great entries. As for the next challenge I have had something in mind but I think it would be extremely hard. Sound recognition. I have no idea how to do it, and I think it would be a great addition to the community. If people think it would be feasible in about 2 weeks then I would like to try it. I'm open to suggestions and I should be able to set the challenge later tonight so you guys can all get started on it.

Do not ask what the forums can do ask what you can do for the forums.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th May 2007 23:59
Could you elaborate more on sound recognition? You mean like recognize words from the microphone?


Spopovich
20
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 11th May 2007 00:39
Yea like entering sounds using a microphone and then comparing new sounds that the user enters with the original sound to see if they match. The criteria would be if the code could distinguish between sounds as well as having a large acceptance of sounds. For example if you recorded "hello", the best code could recognize another person saying "hello" as well as being able to distinguish from someone saying another word like "hi". Like I said before, I have no idea how to go about it and would be interested to see what people could come up with. However unless people think it is able to be done in 2 weeks I'm leaning toward a different challenge.

Do not ask what the forums can do ask what you can do for the forums.
Ric
22
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 11th May 2007 02:35 Edited at: 11th May 2007 02:42
Congrats Spopovich - nice work!

Sound recognition is definitely an interesting topic, but probably extrememly difficult - especially as dbpro doesn't have any sound processing commands built in. The biggest problem, though, might be that there seems to be a bug in the make memblock from sound command in the latest couple of versions - Green Gandalf did some testing not too long ago and found very noticable differences in how the command works across different versions - none of it documented by TGC. I wouldn't say it's completely impossible, but it may be beyond what most people could do with dbpro.

I did like Nick's previous suggestion a lot though - an overhead shooting game.

Spopovich
20
Years of Service
User Offline
Joined: 12th Jul 2006
Location:
Posted: 11th May 2007 03:17 Edited at: 11th May 2007 22:16
Yea I figured it would be quite difficult, and Nick's idea sounds pretty good so for the next challenge.



Overhead Shooter/Fighting Game

The game must have an overhead view and have some sort of fighting aspect to it. It could be a shooter like Nick has mentioned in his previous posts or a bomber-man like game.

I'll be judging on:

controls - are they easy to use
fun - is your game enjoyable
player-world-interaction - when you shoot a box does it blow up, can you hide behind objects or pick up items.

Deadline: Like the usual you'll have 2 weeks I'll judge on May 25th and will accept any entries posted before I judge.

Good Luck

Do not ask what the forums can do ask what you can do for the forums.

Login to post a reply

Server time is: 2026-07-18 00:04:35
Your offset time is: 2026-07-18 00:04:35