Pete, are you going to release a new coding competition?

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

User avatar
Codemss
Veteran
Posts: 124
Joined: Sun Jun 24, 2007 6:49 am
Location: Utrecht, The Netherlands
Contact:

Pete, are you going to release a new coding competition?

Post by Codemss »

Please? Serious, I would like a new coding competition. It would be really nice. I am very interested in it. I searched and acidentally came across one in 2004 or something to code a game in four lines. That kind of stuff is really nice, and it could help to fill some space in QBE, for if you have little sended in tutorials and artilces.
Check out my site: <a href="http://members.lycos.nl/rubynl">Click here</a>
Hope you like it. Send some feedback if you want: <a href="mailto:basicallybest@live.nl">Mail me</a>
Codemss, before known as RubyNL
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

+1

You have my vote. Sounds like fun!

What all have they been about in the past? I;m feeling the itch to code something
User avatar
Codemss
Veteran
Posts: 124
Joined: Sun Jun 24, 2007 6:49 am
Location: Utrecht, The Netherlands
Contact:

Post by Codemss »

Well I only know about the contest to code a game in 4 lines, but I have seen no contests in the last QBE. But it soundslike fun indeed. I really hope on a new contest.
Check out my site: <a href="http://members.lycos.nl/rubynl">Click here</a>
Hope you like it. Send some feedback if you want: <a href="mailto:basicallybest@live.nl">Mail me</a>
Codemss, before known as RubyNL
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

Yah, something like that would sound neat. Create a game in 255 characters?
Naturally we need seperated categories for QB and FB sources.

E.K.Virtanen
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

how about making a specific output requirement in the shortest amount of code? A required output is given and participants must figure out the quickest way to achieve that output using the least amount of code. Size matters.
User avatar
Pete
Site Admin
Posts: 887
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Post by Pete »

coma8coma1 wrote:how about making a specific output requirement in the shortest amount of code? A required output is given and participants must figure out the quickest way to achieve that output using the least amount of code. Size matters.
That's a very cool idea. Any ideas on what the "output" could be?

A specific graphical pattern, or perhaps a pattern of text?
User avatar
Pete
Site Admin
Posts: 887
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Post by Pete »

PS: I would like to run a QB Express coding competiton every month, but the reason I don't have enough time to come up with the idea, and then collect / rate each entry and write up the results.

If somebody else would like to organize the competition and write up the articles, I'd be glad to let you write about it in QB Express.

Also, check out ciw1973's competitions in the "Community" section of the freebasic.net forums.
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

Put up a competition and let readers decide which one wins.
Simple and short ones are best.

Best game in max. 255 characters.
Best output created in max. 500 chars. No third party libraries or image files allowed.

Or then, something that really helps peoples like.
Best way to solve math formula from a string.

E.K.Virtanen
User avatar
Codemss
Veteran
Posts: 124
Joined: Sun Jun 24, 2007 6:49 am
Location: Utrecht, The Netherlands
Contact:

Post by Codemss »

The competition could either be about coding something specific the shortest way, or it could be about the "best" program. In that case, a poll or something should be in the QBE.
I would like to organize the competition, but I don't know how to make a poll in QBE. It would be great if someone could do this. Or I could use a poll in the topics here... I think this is the best idea

I don't think that anyone want's to offer his money, so the price will be honour.

There also needs to be something to avoid that QB programs are chanceless. Two competitions? One competition with two winners? Or use rules so that the result doesn't really depend on what you use...

I have already a great idea, but I don't know if it's possible. You know the Doppler effect? Could that be done with SOUND? maybe an idea to make the competition who can makes this sound the best(preferable with some graphics to demonstrate where the "ear" and where the sounds somes from).

Or is this too hard? I don't believe the math behind it is so hard(look at wikipedia for it)... Or is SOUND not good for this? I will give it a try myself when I've got some time.
Well tell me what you think...
Check out my site: <a href="http://members.lycos.nl/rubynl">Click here</a>
Hope you like it. Send some feedback if you want: <a href="mailto:basicallybest@live.nl">Mail me</a>
Codemss, before known as RubyNL
nkk_kan
Veteran
Posts: 57
Joined: Thu Jun 01, 2006 10:45 am
Location: Gujrat,India,Asia
Contact:

Post by nkk_kan »

lurah's 255 char gaming idea is appealing one..
i'd try that one..
oh and by the way..will it be only QB or both qb/fb?

Doppler effect idea's also mind tingling..
math behind it isn't that hard..basically physics' stuff

or rather held a competition in which a certain problem is given and we've to solve it with the help of our program?

for example..

Problem : The Next Palindrome

A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from right to left. For a given positive integer K of not more than 1000000 digits, write the value of the smallest palindrome larger than K to output. Numbers are always displayed without leading zeros.

Input

The first line contains integer t, the number of test cases. Integers K are given in the next t lines.

Output

For each K, output the smallest palindrome larger than K.

Example

Input:
2
808
2133

Output:
818
2222


They ask such problems in coding compos where i live..
interesting?
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

In this post, there is 255 characters. As you can see, it is not much so no clue can anyone create a game with this limitations. Maybe a simple guess the number or dice game is possible to create but not much more. Im running out of chars allready here..
nkk_kan
Veteran
Posts: 57
Joined: Thu Jun 01, 2006 10:45 am
Location: Gujrat,India,Asia
Contact:

Post by nkk_kan »

lol you tried it? cool =p

well...u can make some nice gfx i think ??
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

Ill try making a game with 255 chars :P
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

202 characters :P

Code: Select all

randomize timer
a=int(rnd * 100)+1
r=0
cls
do
input "Try guess number between 1-100 ",b
if b>0 and b<101>a then ?"Too high"
if b<a then ?"Too low"
r=r+1
end if
loop until b=a
?"You got it in ";r;" rounds"
Sinuvoid
Veteran
Posts: 155
Joined: Wed Jul 25, 2007 8:20 am

Post by Sinuvoid »

Ha, are we aloud our own libraries?
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

Write your won language if you like to but __everything__ must be in that 255 characters.
So if you use library, that library must be in that 255 characters ;)
nkk_kan
Veteran
Posts: 57
Joined: Thu Jun 01, 2006 10:45 am
Location: Gujrat,India,Asia
Contact:

Post by nkk_kan »

but if the library's 255 char long
that means that our program needs to be 0 char long? =P
ok
i'm trying it! =P
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

might be more fun to try and keep it under a given amount of kB.
bungytheworm
Veteran
Posts: 288
Joined: Sat Feb 18, 2006 4:02 pm

Post by bungytheworm »

Less than 0.255kB? :lol:
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

hehehe
Post Reply