microProject. Falling Bricks.

Apparently in DarkBasic Pro you can create this:

With just this:

Rem Project: Dark Basic Pro Project
Rem Created: Sunday, April 10, 2011
set display mode 800,600,32,1
phy start
make object box 1,20,2,20
position object 1,0,-5,0
phy make rigid body static box 
for o=2 to 1000
make object box o,1,0.5,0.6
position object o,rnd(4)-2,o/3,rnd(4)-2
phy make rigid body dynamic box o
NEXT o
position camera 0,10,-30
point camera 0,2,0
do
phy update
LOOP

So I took up this micro-challange :stuck_out_tongue:

http://dl.dropbox.com/u/20722643/DB/WebPlayer.html (R to Restart)

With just this:

in code.

Sneaky? you decide :stuck_out_tongue:

Might be a cool to try and write a fully playable (obviously simple) game with the same amount of code as they used for that demo.

Of course the GUI editor obviously saves you a fair bit of code.

Hmm… Given the gui ‘advantage’ pong should be easy. Minesweepers and pacman a possibility.

Want to make a limited line of code challenge?

Go for it! I know I use a ridiculous number of lines…might help me stop.

Sounds interesting.