Super Marathon Brothers!
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Clicking green buttons for the sake of the world.
 
HomePortalCalendarWatch us liveFAQLatest imagesSearchMemberlistUsergroupsRegisterLog in

 

 Click

Go down 
2 posters
AuthorMessage
YouOnlySueOnce

YouOnlySueOnce


Posts : 2722
Join date : 2010-07-29
Age : 54

Click Empty
PostSubject: Click   Click EmptySat Mar 03, 2012 5:18 pm

Code:
newPost?{
-yes?{
--if (youCanReply)
---post
--else
---justRead}
-no?{
--notNotice
--chooseRandomNumber(100){
---if (1to33)
----postOnARandomTopic
---if (34-66)
----postATopic
---else
----doNothing}}
}
end

Oops, I think I leaked it.
Back to top Go down
Jefferlope

Jefferlope


Posts : 2631
Join date : 2010-07-29
Age : 30
Location : On your computer screen.

Click Empty
PostSubject: Re: Click   Click EmptySat Mar 03, 2012 5:19 pm

I like this algorithm.
Back to top Go down
YouOnlySueOnce

YouOnlySueOnce


Posts : 2722
Join date : 2010-07-29
Age : 54

Click Empty
PostSubject: Re: Click   Click EmptySat Mar 03, 2012 5:22 pm

It's very accurate, if (iMaySay).
Back to top Go down
Jefferlope

Jefferlope


Posts : 2631
Join date : 2010-07-29
Age : 30
Location : On your computer screen.

Click Empty
PostSubject: Re: Click   Click EmptySat Mar 03, 2012 5:29 pm

It is pretty accurate, but you're missing a bit. You didn't put an ELSE for the random number IF statement. That means if the random number is 34-100, we'd get an error.
Back to top Go down
YouOnlySueOnce

YouOnlySueOnce


Posts : 2722
Join date : 2010-07-29
Age : 54

Click Empty
PostSubject: Re: Click   Click EmptySat Mar 03, 2012 8:30 pm

Oh no, it's an error in your part, you can scroll down the coding.
Back to top Go down
Jefferlope

Jefferlope


Posts : 2631
Join date : 2010-07-29
Age : 30
Location : On your computer screen.

Click Empty
PostSubject: Re: Click   Click EmptySun Mar 04, 2012 12:35 am

Oh, snap, my bad. That /is/ very accurate. I think doNothing should be more than just a third of the time, though.
Back to top Go down
YouOnlySueOnce

YouOnlySueOnce


Posts : 2722
Join date : 2010-07-29
Age : 54

Click Empty
PostSubject: Re: Click   Click EmptySun Mar 04, 2012 2:31 am

It's not a third, it's a 1.0000001/3 (34 numbers)
Back to top Go down
Jefferlope

Jefferlope


Posts : 2631
Join date : 2010-07-29
Age : 30
Location : On your computer screen.

Click Empty
PostSubject: Re: Click   Click EmptySun Mar 04, 2012 3:16 am

I rounded!
Back to top Go down
YouOnlySueOnce

YouOnlySueOnce


Posts : 2722
Join date : 2010-07-29
Age : 54

Click Empty
PostSubject: Re: Click   Click EmptySun Mar 04, 2012 4:11 am

Well I suppose it's the avarage result, I think I did a mistake though on the numbers, I'll have to find this part of the code again to see if I placed the numbers right.
Back to top Go down
Sponsored content





Click Empty
PostSubject: Re: Click   Click Empty

Back to top Go down
 
Click
Back to top 
Page 1 of 1
 Similar topics
-
» Click 100
» Do we only click green buttons?

Permissions in this forum:You cannot reply to topics in this forum
Super Marathon Brothers! :: Other :: Random Stuff :: Spam Forum-
Jump to: