Merry Christmas!
Bundle up because its snowing! This program will make you glad you are a inside a warm house. It's really simple, but fun.
I thought about adding a house, and Christmas lights but it's okay.
Turn on your favorite Christmas music, and enjoy. If you give it a while the snow will start gathering at the bottom of the screen
compressed
dim pos_y#(299) : dim pos_x#(299) : dim speed#(299) : snow# = 480
for a = 0 to 299 : pos_y#(a) = rnd(480)-480 : next a
for a = 0 to 299 : pos_x#(a) = rnd(640) : next a
for a = 0 to 299
select rnd(2)
case 0: speed#(a) = 0.1 : endcase
case 1: speed#(a) = 0.2 : endcase
case 2: speed#(a) = 0.3 : endcase
endselect
next a
do : cls
for a = 0 to 299
inc pos_y#(a),speed#(a)
line pos_x#(a),pos_y#(a)+1,pos_x#(a),pos_y#(a)-1
line pos_x#(a)+1,pos_y#(a),pos_x#(a)-1,pos_y#(a)
if pos_y#(a) > 480 then pos_y#(a) = 0 : pos_x#(a) = rnd(640) : dec snow#, 0.01
if rnd(50) = 0 then inc pos_x#(a),rnd(2)-1
next a
box 0,snow#,640,480
loop
uncompressed (with comments)
`create variables for the snowflakes
dim pos_y#(299)
dim pos_x#(299)
dim speed#(299)
`make snow box start at the bottom
snow# = 480
`randomly position the snowflakes above the screen so they fall down into the screen
for a = 0 to 299
pos_y#(a) = rnd(480)-480
next a
for a = 0 to 299
pos_x#(a) = rnd(640)
next a
`randomly select the speed of the snowflake's fall
for a = 0 to 299
select rnd(2)
case 0:
speed#(a) = 0.1
endcase
case 1:
speed#(a) = 0.2
endcase
case 2:
speed#(a) = 0.3
endcase
endselect
next a
`main loop
do
cls
for a = 0 to 299
`make snow move down
inc pos_y#(a),speed#(a)
`create snowflake
line pos_x#(a),pos_y#(a)+1,pos_x#(a),pos_y#(a)-1
line pos_x#(a)+1,pos_y#(a),pos_x#(a)-1,pos_y#(a)
`when the snowflake hits the bottom of the screen reset it at the top, and make the snow on the ground rise
if pos_y#(a) > 480 then pos_y#(a) = 0 : pos_x#(a) = rnd(640) : dec snow#, 0.01
`make the snowflakes move left and right a little
if rnd(50) = 0 then inc pos_x#(a),rnd(2)-1
next a
`make snow rise as the snowflakes hit the bottom of the screen
box 0,snow#,640,480
loop
Feel free to improve it. God bless you this Christmas!

yrotate when you can spin?
God Bless!
