Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Next Challenge
#11
something having to do with cool algorithmiclyish stuff...
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#12
does this include subs?
the mind is a beautiful thing, use it and make the world a more beautiful place.
Reply
#13
I choose D, other!

WT are you all murring about? About 20 uncompiled lines, or 64 ASCII characters? Why don't you just use FILE SIZE! I think that is much more relative.

How about sth like this ;-):
a. 1024 bytes BAS
b. 128 kB EXE
c. 64 kB EXE
d. Other (specify)
Reply
#14
Quote:I choose D, other!

WT are you all murring about? About 20 uncompiled lines, or 64 ASCII characters? Why don't you just use FILE SIZE! I think that is much more relative.

How about sth like this ;-):
a. 1024 bytes BAS
b. 128 kB EXE
c. 64 kB EXE
d. Other (specify)

Better to go by BAS... most of us have no idea how to control compiled size. The ASMers would dominate.

Rather than this size restriction, I think it would be more interesting to do make other sorts of restrictions:

"Make a game that takes only two controls... and is still fun"
"Make an entertaining graphical demo in screen 1"
"Make a game in which the player is an equilateral triangle..."
"Make a text-based ascii paint program in screen 0"
"Make a title screen for a fictitous game without using libs or external files (no image loading)"
Reply
#15
Obfuscated QB contest!!

See if you can create a QB program that is as difficult to understand as possible. To make it a real contest of skill you cant use hardware access things like peek, poke, inp, large strings of hex code, etc.

Obfuscation techniques included code that does something different to what appears at first glance, misuse of variables and statements, clever use of things like the AND, OR and NOT operators, short obscure variable names, complex algorithms, lack of or misuse of indentation, etc.

An obfuscated program can do anything, but must be difficult for somebody else to convert to (unwind) clear, readable code.

Im not sure how well QB lends itself to obfuscation but its worth a try. The International Obfuscated C Code Contest has been running for several years now, check out http://www.ioccc.org/
esus saves.... Passes to Moses, shoots, he scores!
Reply
#16
It is hard to obfuscate QB!!! It is a good challenge. LooseCaboose counts with my vote.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#17
Obfuscated=hard-to-read?

Well take a look on those nineliners...
(mine is hard to read for me though I have coded it Tongue )
/post]
Reply
#18
Not so much just difficult to read, but difficult to understand what the program does and how it works. For example this one line won the first ioccc competion:

Code:
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}

Understanding that it prints "Hello World" on the console isnt too difficult at a glance, understanding how its done is slightly harder. Note that the string "HelloWorld" is a parameter to the read call (You would expect a write or a printf?)

Basic guidelines are an obfuscated program should still be difficult to understand once it has been indented correctly, useless lines removed, and variables renamed.

The real competition would be to see if anyone can actually obfuscate QB code, C in particular is easy to obfuscate but QB should require a bit more thought.
esus saves.... Passes to Moses, shoots, he scores!
Reply
#19
Yeah, for example, instead of

Code:
b = 10
INPUT a
IF a = 1 THEN
   PRINT a + b
ELSEIF a = 2 THEN
   PRINT b - a
ELSE
   PRINT b
END IF

something like

Code:
b=10:INPUT a:PRINT ABS(a = 1)*a + b - ABS(a = 2)

Is this? :na_th_an:
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#20
Contest Suggestion:
Make a program that prints a gogolplex.
  • A gogolplex is a "1" with a gogol
    zeros after, a gogol is 10^100

Code:
PRINT "10^(10^100)"
Doesn't count
/post]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)