Results 1 to 3 of 3

Thread: Randoms

  1. #1
    Join Date
    Jun 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Randoms

    Hi all, i'm new here.
    Thought I might as well drop some kind of script because I wondered how scar would handle it.

    The .Scar file and Excel File are attached but I will explain it all in this post.

    The point of this was to see whether or not I would get a different result using a static or dynamic numbers to see if they equaled a randomized variable.

    The first function randomizes a number then checks if it is equal to 5 numbers that are the same throughout each trial.

    The second function randomizes a number AND randomizes the 5 numbers before equality is checked.

    The normal result for each of these would be 5% of the time it equals, of course it never usually does because probability isn't exact.

    Surprisingly enough the dynamic function almost always came out with a lower percentage of matches then the static version.

    I took 35 tests, placed them into Microsoft Excel, Graphed it(attached) and 84% of the time the Static version came out with a higher number(This should have been done with a larger sample, but that would take too long).

    If you know scar scripting well, please check if there are any errors pertaining to the equations or methods.
    Not the actual scripting though, i'm not too good at that, i think i left an unused variable =p.

  2. #2
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Title was a bit misleading. Maybe RandomNumbers ?
    You definately know some basics
    Maybe try an RS script?
    Bit more challenging

    T~M

  3. #3
    Join Date
    Jun 2009
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry, about that =p
    Although this is my new account I have plenty of experience with scar, but i'm not claiming to be awesome at it.

    Currently I am working on:

    1) An Auto-Emailer for Gmail that is as objective as possible(Find BMP's instead of exact coordinates, which is a step up for me because i don't make my scripts public so there was no need to be). The cool part is that you can use an INI file to make your own language that it writes in! =p

    2) A more intelligent writing program based on a defined language(somewhat of an off-shoot of 1). Which might actually turn out to be Mad Libs where you define every word.

    3)A Limited Minesweeper script, ~500 lines of script for easy so far(maybe ~400 if I got rid of some testing functions). It won't be perfect but a TPA seems to work ok. All it can do right now is recognize very limited positions.

    Im not really into RS though, So I'm trying to do a "Music Catch 2" Script where it avoids the bad things and goes after the good ones efficiently, but it is in an alpha stage so far.

    Do you have anything to say for the results of the the Random Tests?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •