Fun Stuff > CLIKC

Computer Beer?!?!?

<< < (2/2)

dusktodarkness:
I love beer. Kinda..

I must be a nerd.. all of those made sense to me XD

thelightguy:
// Ever seen a drunk computer?  TODO: Figure out what language this is... seems like I used a mix of C, php, and basic... oops!
var alcohol;
// Define function u_ferment()
function(u_ferment(hops,barley,rye,duration)) {
     for(i=1,$duration,i++) {
           alcohol = rand() * hops * barley * rye / rand(1000);
           if(alcohol >= .07) {
                 break;
           }
     }
}

nihilist:
I...  can't tell.

dusktodarkness:
[d:] [/F][/S[:]order] [/B][/skiphigh [/LCD|/BW|/GO] [/H]

Navigation

[0] Message Index

[*] Previous page

Go to full version