Skip to content

Commit

Permalink
seeded the fire. try watch.sms 'sms fire.sms'
Browse files Browse the repository at this point in the history
  • Loading branch information
reginaldford committed Jun 14, 2024
1 parent 7f0f7cf commit d128d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sms_src/examples/fire.sms
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
let c=colorPrint;
let max=(x,y)=>if(x>y)x else y;
osExec("clear");
seed(time()[1]);
for(let i=128;i>=0;i=i-1)
for(let j=0;j<200;j=j+1)
c.print(max(0,random()*1500/max(1,i^2-j))," ")
Expand Down

0 comments on commit d128d9b

Please sign in to comment.