Guess My Number - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Guess My Number (/showthread.php?tid=900) Pages:
1
2
|
RE: Guess My Number - DANILIN - 02-23-2023 Binary Sequence Predictor "game"? https://qb64forum.alephc.xyz/index.php?topic=4473.msg140722#msg140722 Reply #29 on: February 17, 2022 shuffle and make sure that number does not take its place so far without control has array become binomially better we create an array of numbers in a row and in 1 pass we rearrange serial number and a random number and if numbers of rearranged ones match: spinning line is my handwriting check array and if there are numbers in their places: we count number and write array as defective marking matched ones with a minus sign first and last numbers are displayed on screen but it is possible to write everything to file how to copy text results from window is unknown therefore: picture shows: 9 numbers were qualitatively shuffled from 6th attempt in 0 seconds next I plan to calculate whether sequence has become truly random and apparently I will have to switch to index indexes as excel cells result is visible if saved to disk or ram disk between cells at least 10% and number of repeated shuffles: up to 25% of array length Code: (Select All) a = 100: DIM d(a): x=0: k=0: t$=CHR$(9): RANDOMIZE TIMER 'tas_ten.bas result control: open control.txt in notepad and search 1.0 as ratio is less than 10% and desired is missing this means that elements are shuffled at a distance of at least 10% of array from each other Code: (Select All) 41 70 29 91 18 2.413793 .4142857 I think this mine long-standing development will help synthesize high-quality random RE: Guess My Number - Sprezzo - 02-24-2023 ------ RE: Guess My Number - DANILIN - 02-24-2023 A = 00 B = 01 C = 10 D = 11 in string S = 000110110110110001101101101100011011011011 Personally I see couples Code: (Select All) 00 00 01 11 10 01 11 10 01 11 10 01 ... What creates another option for research but in my visualization I need 3000 pieces of 0 and 1 without letters ABCD but letters appear in my other wave-like theory However I will try to read and understand theory RE: Guess My Number - bplus - 02-24-2023 (02-24-2023, 02:33 PM)Sprezzo Wrote: Alright I'll bite on this... just to remind of what's going on... Thankyou for making total sense of what the heck maybe subject of Danilin reply? Seems to me I remember this topic from old forum. Wish it were under it's own topic instead of hi-jacking Number Guessing thing but that's Danilin's fault. Then I would bring up another old topic of searching for biggest repeating string then next then next... So true randomness is least amounts of long repeating patterns, maybe? But then, that's like a pattern of non-patternness, like prime numbers. But Prime numbers being random is no longer true and for further digression check this out: https://en.wikipedia.org/wiki/Formula_for_primes Seems like the subject of randomness is loaded with paradoxes ie can there really be better random numbers? Can there be a formula to rate just how random a sequence is? RE: Guess My Number - DANILIN - 02-24-2023 ??? "least amounts of long repeating patterns" ??? This is my BLIP theory Binomial Logarithmic Integral Pyramidal Distribution BLIP distribution of Random numbers https://qb64forum.alephc.xyz/index.php?topic=4473.msg139333#msg139333 Reply #27 on: December 23, 2021, 05:32:30 pm And somewhere in beginning of 2019 Synthesizing 3000 random numbers by my program of this page and figuring out remainder of division by 2 I got 0 and 1 and checked BLIP Result: it is quite consistent with theoretical and it is also possible to check any 3000 pieces of 0 and 1 Theory ______ Average Configuration: inverted ... pyramid Quantum random observe principles of binomial distribution RE: Guess My Number - bplus - 02-24-2023 (02-24-2023, 04:52 PM)DANILIN Wrote: ??? "least amounts of long repeating patterns" ??? Cute name, let me add some more letters BLIPPED - Binomial Logarithmic Integral Pyramidal Permutation Enlighted Distribution ponder that mouthful! RE: Guess My Number - DANILIN - 04-04-2023 After translating and reading both pages _barnes.x10host.com/pages/Binary-Analyzer/Binary-Analyzer-One.php _barnes.x10host.com/pages/Binary-Analyzer/Binary-Analyzer-Two.php I doubt proposed methodology Main thing: how to check? Has author created a sequence checking program through programs? My method of decomposition into binomial spectra accurately recognizes non-random types and 010101 and 00110011 and x0y1 RE: Guess My Number - SMcNeill - 04-04-2023 Code: (Select All) 1 SCREEN _NEWIMAGE(1280, 720, 32) Here's a version of this type thing which I did ages ago for one of those QB64 contests. The rules basically said it had to be a 30 line program, with no use of IF statements or regular decision evaluation routines such as WHILE and such. RE: Guess My Number - DANILIN - 05-20-2023 A cell program which is easier to create than to explain A chain of 0 and 1 is created in array and how strip are regrouped into segments in table what is particularly visible: left column is constant Meaning: to see if there are patterns among random ones Formula 0 and 1 Int(Sin(i)+Cos(i)+0.5) or Int(rnd+0.5) So far we see: computer random normal without patterns Code: (Select All) n = 1000: Dim d(80,80): Randomize Timer ' kletka.bas Animations are always small 0.1 MB, I hope they are visible or I will post them on a file sharing site Nobel Prize will not receive itself Nobelevskaya premiya sama sebya ne poluchit Нобелевская премия сама себя не получит Le prix Nobel ne se recevra pas Nobelpreis wird sich nicht erhalten Il Premio Nobel non ricevera se stesso |