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
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 25th Aug 2007 02:15
Quote: "Quote: "younger programmers may not know how to do the math."
meaning me

"


and me
plus i just got braces today so my teeth hurt alot

how do i put an image here?
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 25th Aug 2007 02:27
Quote: "plus i just got braces today so my teeth hurt alot"

i have a retainer
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 25th Aug 2007 03:57
I might get braces (hopefully not!)

Read the below sentence to keep idiots busy.
Read the above sentence to keep idiots busy.
luke810
19
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 26th Aug 2007 00:22
Reflection and projectile physics require only simple mathematics. I think anyone here could have done phaelax's challenge if they really tried.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Aug 2007 03:09 Edited at: 26th Aug 2007 04:08
Oh ho ho ho ho! I've changed my mind, I have the coolest entry ever, not gonna show anyone till tis finished
The Grid Stays!

[edit]
OK maybe I will show
I was watching a video of Will Wright & Brian Eno, and Will showed this really cool program that consisted of a grid of pixels which would be altered depending on the rules he applied. I.e. if a pixel has 3 "alive" neighbours it will survive, if it has no neighbours it will die.
So I've started making my own, the editor uses the mouse-grid idea so I can enter it
It's not much at the moment and I haven't really gotten to grips with the idea yet but I hope you have fun with it.

Sorry there is no interface at the moment, When you run you will be in edit mode, left click to add "live" pixels and right click to delete them, when you are ready press RETURN. There must be at least one live pixel or it wont work.

[edit]
Woah! I found a cool rule set, do just one pixel in the middle and watch the show


substitute in this line

and you have a persian rug effect. I love this it's awesome
Watch the video and you'll see how cool it can be.
It's on here somewhere I think http://forum.thegamecreators.com/?m=forum_view&t=112316&b=2
If not, google it.

Your signature has been erased by a mod because it was rubbish.
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 26th Aug 2007 06:29
I like playing around with the cases in the main loop. I change 1s to 0s and 0s to 1s.

This code uses the same concept, but it makes a static effect no matter how many dots you put in (even if you don't put in anything)



Read the below sentence to keep idiots busy.
Read the above sentence to keep idiots busy.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Aug 2007 14:45 Edited at: 27th Aug 2007 22:59
I've made a few little alterations. The neighbour variable now only counts neighbours (not including the selected pixel).

I'm finding that using only even numbers for the rule set means that only squares are drawn. The rules in this updated code are pretty cool, whatever you originally draw, it will keep appearing: multiplying and rotating


My plans are
* a zooming function so you can do precision editing
* sequence's speed can be altered or paused
* you can continue to edit mid-sequence
* make the rules adjustable in the editor
* different types of live cells; Will Wright had this example of sand falling from a generator and when it hid the solid parts it smoothed out and hilled up and eventually poured over the side like real sand!

If anyone has some tips for these I'd be grateful

found the video Will Wright's cellular autonomy

[edit]
Here's a cool Java applet I found of Conway's game of life. That's basically what I'm aiming for, how do I get it to go that fast? I'm already having some syncing problems.

I've enlarged the area and refined a few things, I've added the Conway rule set, but I don't think it's quite right because everything I try just dies.

[edit]
I think I've got the Conway rules working now, had to change the neighbour variable a bit. Even getting the "gliders" now
I've never written a program where I have no idea what's going on lol. My first procedural program



This could make an awesome game: Bacteria Wars!

Quote: "I like playing around with the cases in the main loop. I change 1s to 0s and 0s to 1s."

Yeah you get some cool effects with some combinations .

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 26th Aug 2007 18:59
I return! (Damn I won)
Hmm... One day to finish a program. Sounds like a challenge!

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Aug 2007 20:02 Edited at: 26th Aug 2007 20:25
@Pixel
I like your entry but it isn't really doing a lot, what are you planning?
I've added a generation counter, post your best times while it is still moving (not including the spinning line ones).



I got around 560 generations.

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 26th Aug 2007 22:22
I created an entry!
recognise the creature obese87?

There isn't any aim, just use the mouse to look and up and down to move.

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 00:36 Edited at: 27th Aug 2007 01:30
@INH
haha Hey what are the copyright issues on that
don't think it complies with the rules though? I think it has to register the position of the mouse in some way, so is the camera rotation within the rules DD?

[edit]
No one gonna comment on mine?
Come on guys we only have a day left and I've seen 1..2..3..err I think that's it, 3 entries!
It's a bank holiday tomorrow so no excuses (unless it's sunny )

Your signature has been erased by a mod because it was rubbish.
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 27th Aug 2007 04:45
Here's a small update of my entry, keep in mind I haven't been working very hard on it. It still doesn't "technically" do anything but I've include a sub-routine that adds a blue box to a cell that you click on, to let you know the computer knows which cell you actually clicked.



Cory
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 27th Aug 2007 05:33 Edited at: 27th Aug 2007 05:36
Here's an entry based on some help I was trying to give someone some time ago about controlling the mouse speed in order to have it interact in a controlled manner with drawings on the screen. You can change the speed of the pointer by putting a smaller decimal in the movemouse() function.

The object is to push the circle around the screen with the pointer.



Enjoy your day.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 16:00
Quote: "don't think it complies with the rules though? I think it has to register the position of the mouse in some way, so is the camera rotation within the rules DD?"

The only rule that I can see is 'make something that uses and/or gets imformation from the mouse'. This is exactly what mine does.
I don't quite understand your entry OBese87. If you place just one pixel, surely it should die instantaniously, because it has no alive neigbors, and yet it goes on the some spectacular light show that looks like the millenium fireworks of the eiffel tower?

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 16:02
Nice entries
@Latch
This could make a cool game.
I've noticed that sometimes two circles are drawn.

@Roddman
What is it going to be?
You had a Start_Game gosub call and no label, removed call and it worked fine.
Good so far

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 16:06
Oh, latch that is cool. Wht ae te calculations for that?!

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 16:07
@INH
Quote: "I don't quite understand your entry OBese87. If you place just one pixel, surely it should die instantaniously, because it has no alive neigbors, and yet it goes on the some spectacular light show that looks like the millenium fireworks of the eiffel tower?"

lol, You must have been using an older version.
Here is the Conway rules version


The light shows are cool though

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 16:35 Edited at: 27th Aug 2007 16:35
That's like a little life system. I got three squaes made of four that just stayed, and one collection of several that switched from
.........._ (Ignore the dots)
-|- to |_| over and over, and an intesting arrow shaped one that moved across the square. It was very lifelike.

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 17:07 Edited at: 27th Aug 2007 17:21
@INH
Glad you liked it
I'm amazed how a set of simple rules can make something so life like, they're like little organisms, the walking arrows are the coolest
Look at the cellular autonomy video I posted earlier (Will Wright again ) that's the program I want to make eventually.

[edit]
Moments before it "stabilised"

Beat that All I did was a straight line!

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 17:35 Edited at: 27th Aug 2007 17:46
5 hours left...
I like what i see from everyone.... i dont know who the winner will be....
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 17:46
Ohhh... I'll have my new entry up in a sec.

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 17:56
5hrs?
I thought all challenges ended midnight GMT?

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 17:59 Edited at: 27th Aug 2007 18:02
Ok, here's my next entry. Basically just look at the creature and it's surroundings with the mouse.

@Obese87- He set it to 3:00, but I hope he's using GMT becuase y clock's GMT and it's past that! he has 5 hours left to shut the compo down.

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 18:03 Edited at: 27th Aug 2007 18:04
That is midnight were i live!
i like the 2nd entry INH...
@obese87
591 generations!
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 18:04
It HAS to be GMT.

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 18:05
yup..
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 18:08
Um, That means you have to close it now, or in the next five hours!

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 18:15 Edited at: 27th Aug 2007 18:24
yeah i might close it now....nah. in 5...4...3...2...1.
its done. over.

The runner(s) up is(are)



And the winner is..


i like obese's entry but its to addictive (kiding)
any one top 591 generations!?
pixle's was good but you couldn't do any thing!(more and it would have won..)



good work from everyone though!
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 18:20 Edited at: 27th Aug 2007 18:21
Could have done with some more detail on why everyone's was rated how it was. (In proper grammar too!)

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 18:22 Edited at: 27th Aug 2007 18:22
i'm gonna keep it to my self as it may...upset... people..
i hate grammer!
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 18:26
No, you can't keep it to yourself. We have the right to know. Examine other judges results, and see hoe they display them, kinda like this:
Dodah1: Good but it was too pink
dodah2: Didn't like the gameplay but good grpahics
(etc)
And the runner up is!

and the winner is!


All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 18:29
hmm i'll redo it later..gotta go.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 19:34 Edited at: 27th Aug 2007 19:39
WHat? It hasn't past midnight yet!
GMT stands for Greenwich Mean Time, it's a line that goes through Greenwich in England, we still have 6hrs 30mins left.
Or did you mean 00:00 Monday which was midnight Sunday? Time is confusing
I don't understand the point of time differences, the seasons are different hemispheres so should they be switched?
All it would mean is that the day in China was from 18:00 to 06:00 or something. Anyway that has nothing to do with programming so

Quote: "any one top 591 generations!? "

Nice one, I got 1660, even got a screenshot

Well, whether or not you have actually closed the competition I will continue working on this.

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 19:40
My clock is greenwich mean time and it says 17:39.

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 19:43
@INH
Yeah that's right but I thought DD meant midnight tonight (in 6hrs).

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 20:03
No, he meant 3:00 GMT

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 20:17 Edited at: 27th Aug 2007 20:17
ahh dang! I must've miss-read then
I didn't even get runner up

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 20:24
I feel sorry for you, it was a very good peice of replication. tHe maths and programming was advanced. (Bit of fast judging oging on there?)

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 20:58
@INH
thanks for your sympathy

Your signature has been erased by a mod because it was rubbish.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 21:11
I have a request for the new challenge: The Function Challenge
every command you use except for IFs and Loops must be within functions, or something. Lots of functions!

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 21:18

FOR GODS SAKE YOU USELESS FORUM MY CAPS LOCK IS ****** OFF!!!! RARGGGGHHHHHHHHH!!!!!!!!!!!!!!!!! DIE!!!!!!!!!!!!!
Ommm... Ommm...

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 21:19 Edited at: 27th Aug 2007 21:22
Latch is the only one who can oprove of it but i lkie the idea..
haaahaahahah!!!.....your caps lock IS on..
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 21:19
Ma as well.
(DIE FORUM)

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 21:23
your caps lock IS on..
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 22:08 Edited at: 27th Aug 2007 22:10
RAGGGGGGHHHHHH! MY CAPS LOCK IS NOT ****** ******* ******* ON YOU **** ****! HAVE YOU NEVER ****** HEARD OF THE ****** SHIFT KEY YOU ****?!!
(cough)
So, when ya gonna get back to us with those improved ratings,huh DD?

All those using the old version of this image must change to this image immediately.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 27th Aug 2007 22:13
all scores are as is. i'm still trying to phrase the ratings.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 22:15
We can wait.

All those using the old version of this image must change to this image immediately.
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 27th Aug 2007 22:20
Thanks DD. There were some pretty interesting entries!

Quote: "I have a request for the new challenge: The Function Challenge
every command you use except for IFs and Loops must be within functions, or something. Lots of functions! "


Perhaps as a methodology to get to another end, but I think I'll try something a little different.

How about this:


THE SOMETHING IS FOLLOWING YOU CHALLENGE

Create a main object (in 2d or 3d) that can be moved around by the user. Have a minimum of 5 other objects follow this object from different start points. If the object turns to face any of the pursuing objects, they have to run away from the main object, but as soon as it is no longer facing them, the pursuit resumes.

Main objectives:
* at least 1 main player controllable object in 2d or 3d
* at least 5 non-player objects that follow the player object(s)
* following objects must respond (run away from or move to the side of) a player object that is facing them

Extra points:
* Make it a game of out-run or escape
* Have following objects move at different speeds
* Create levels where more following objects are added
* Any bells and whistles you want to stick in

Deadline : 2 weeks - Moday, September 10 - midnight GMT

Enjoy your day.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 27th Aug 2007 22:33
Hm, this looks hard, though I always say that.

All those using the old version of this image must change to this image immediately.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Aug 2007 23:03 Edited at: 27th Aug 2007 23:04
Little bit of AI
This will be hard, not too hard though
Do we still have the DBChallenge site or has Phaelax stopped that?

Your signature has been erased by a mod because it was rubbish.

Login to post a reply

Server time is: 2026-06-08 10:30:01
Your offset time is: 2026-06-08 10:30:01