Page 1 of 2

New form

Posted: Sun 01 May, 2005 5:40 pm
by kv83
As you may have noticed the amount of entries were rather dissapointing. Of course we goot a really cool animation (tr1p's entry) and a another cool, but not complete, entry (the one of ben), and that's of course a nice result of competition. But on the other hand, a competition should still be a competition. And it should be about programming, which was not rally in the last one.

So what will the future look like? Well, the MPC will not come back in this form. That's for sure. But I thought about another idea. An idea which will try to bring back the real thing after a 'programming competition'.

Here it is. I'll post once in a while (every month or two weeks) an algorithme. The objective now is to write that algorithme in Z80 ASM (sorry for those basic guys). The one who can write the fastest/smallest routine will win. No prizes (again sorry ;)). The good thing about it, it doesn't take a long time to develop a whole idea, and it concetrate of the fun part; the programming :D.

Some idea's for algorithmes I had in mind:
- An algorithme for a elevator (fun times)
- Shuffle algorithme (uh, I already have one!)
- An mirror routine for a variable size picture
- A fade-in, fade-out routine for gs

If you have any algorithme idea's, feel free to post them... i'll post the first algorithme in the next week.

P.s.: Yay, even I may now participate! :lol:

Posted: Sun 01 May, 2005 5:43 pm
by benryves
What is an "elevator" algorithm?

But I agree, this format would probably be a lot better. :)

Posted: Sun 01 May, 2005 5:55 pm
by Jim e
Now, will there be two winners, one for the smallest code and one for the fastest. Or will base it on some type of ratio, like avg clocks to size.

Hehehe... I already have 3 of those. Whats an elevator algorithme?

Posted: Sun 01 May, 2005 6:09 pm
by kv83
Good question about speed vs. size. I don't know. Someone got an idea?

An elevator algorithme is an algorithme for an elevator... Last I stood in one, and thought it would be fun to make one. It has to calculate the fastest path. Say there are 4 elevators and on different levels of the building some people presses the button, for example 4, 9, 3, 8... would it be faster to go with elevator all up and pick up one every level, or use all four, etc. etc. etc... details and requirements of course will be posted if I decide to post such an algorithme... :)

Posted: Sun 01 May, 2005 6:48 pm
by CoBB
kv83 wrote:An elevator algorithme is an algorithme for an elevator...
This single sentence brought me a deep feeling of enlightenment. A fundamental truth of existence it is.

Posted: Sun 01 May, 2005 6:49 pm
by chronoflare
that doesnt sound so bad...maybe i will even join.

Posted: Sun 01 May, 2005 7:00 pm
by blueskies
CoBB wrote:
kv83 wrote:An elevator algorithme is an algorithme for an elevator...
This single sentence brought me a deep feeling of enlightenment. A fundamental truth of existence it is.
LOL! :D

Anyway, I like this new idea. Having more smaller, more frequent competitions might inspire more people to enter. I think there should also be some 'game' related algorithms, such as 8 way scrollers, etc. One example that comes to mind is Corbin, and how Duck used patterns of tiles to save space and time. Maybe there could be an algorithm that showcases the best way to save space, given a specified tilemap/tiles.

Posted: Sun 01 May, 2005 7:11 pm
by Jim e
I say just tell what it is be optimised for to begin with and not allow romcalls or calls to the shell.


Heres some ideas I thought could be useful based from the competition
-clipping line routine
-3d coord to 2d coord routine
-bucket fill routine
-dither fill

Posted: Sun 01 May, 2005 7:26 pm
by Toaster
looks like most of the stuff suggested is for ASM only because using a clipping line routine is simple in basic LOL all you use is the Line( command. :P

Posted: Sun 01 May, 2005 8:21 pm
by CoBB
That's not doing but using a routine.

Posted: Sun 01 May, 2005 8:28 pm
by kv83
CoBB wrote:
kv83 wrote:An elevator algorithme is an algorithme for an elevator...
This single sentence brought me a deep feeling of enlightenment. A fundamental truth of existence it is.
Hehe... at least the message is clear... so CoBB... is this more like the competition you would like to join?

Posted: Sun 01 May, 2005 8:39 pm
by CoBB
I don't think I'll participate in anything like that. I prefer working slowly, on long-term projects, because it's much easier to distribute over my sporadic free time.

Posted: Sun 01 May, 2005 8:45 pm
by lloydkirk1989
:lol:

I hope kv didn't come up with this new competition idea just to get cobb interested. :roll:

Posted: Sun 01 May, 2005 8:50 pm
by DJ_O
or to single out BASIC programmers :shockedsick: :x

Posted: Sun 01 May, 2005 8:55 pm
by DarkerLine
Shuffling in basic is quite easy too.

Code: Select all

rand(52->L2
seq(I,I,1,52->L1
SortA(L1,L2