Jump to content
BrainDen.com - Brain Teasers

unreality

Members
  • Posts

    6378
  • Joined

  • Last visited

Everything posted by unreality

  1. Yes I agree that the scoring-by-categories is a slippery slope and has its extreme case in points-by-rounds instead of points-by-wins, but they seemed to want to split it up in some ways, so I went with a compromise that I posted earlier thanks for the input And again, why don't I just program in multiple scoring systems so that we have them in there? If there's support for that, I'll do it tomorrow ;D
  2. I like this one if we're going to use categories win by 0 to 3: tie (both get 0.5) win by 4 to 16: close win (winner gets 0.75, loser gets 0.25) win by 17 or more: win (winner gets 1.0, loser gets 0.0) How's that?
  3. if you break that system down more and more, the fairest thing it would come out to being would be 1 point per round won and 0.5 points were round tied. Thus each game would result in 100 points total split between the players instead of a winner-take-all of 1 point doled out to the winner (or 0.5 points to each in the special case of a tie or near-tie). To make it concrete, it should be one or the other. Further bifurcation based on arbitrary numbers won't do any good. I think we should either take your system to the extreme and give points per round OR use the current system which gives points by wins (or like I said have it print out both and we can compare - if you want I can program that now for comparison purposes to see if the winner would change). It would be helpful to get some more input on this too
  4. there's nothing random going on (except in the 'rand' test program). All the algorithms are deterministic
  5. i've looked at patternSeeker's code, it's very clever And as far as winning goes, I could rig up an alternate scoring system based on the total individual matches an algo has won (tournament being made up of games, games being made of matches/rounds) Then an alternate scoring system would be based on total rounds won rather than total games won. What do you think? I could have it display both
  6. here was a set of games requested by Mr. Apple (you can see matches between already-existing algos but not new ones)
  7. It's in Java. Your code will be run as part of a larger function. Each round (0..99) your code will be executed again and must output 0 (ROCK), 1 (PAPER), or 2 (SCISSORS). We already have Scanner, ArrayList, Vector and Random imported for various purposes, but out of those four the only ones you can use in your algo are ArrayList and Vector. If you need to import something else just ask me first You'll get three variables to use in your algo: int i (contains the current round number 0..99) int[] a (contains all of your moves so far from a[0] to a[i-1]) int[] b (contains all of the opponent's moves so far from b[0] to b[i-1]) Nope... SCISSORS (2) beats PAPER (1) which beats ROCK (0) which beats scissors of course. Each round both algos will output 0, 1 or 2, and you must return it as an int datatype. There are four constants by the way: public static final int ROCK = 0; public static final int PAPER = 1; public static final int SCISSORS = 2; public static final int ROUNDS = 100; yeah that's fine
  8. The important part from the single game was this: rand won 30 games and rand won 32 ~ there were 38 ties I ran some more games: rand won 41 games and rand won 34 ~ there were 25 ties rand won 32 games and rand won 29 ~ there were 39 ties rand won 31 games and rand won 38 ~ there were 31 ties They're all within the expected deviation from the mean (which would be 33.3333333etc). The probability for them both to win the same or within 1 of each other (and thus tie) is quite low. To make random algos tie eachother ~68% of the time I'd have to extend the range of a tie out more. To answer your question I think 100 does satisfy the law of large numbers. The pattern seeking algos, darth1 included, didn't just get lucky. All algos are determinstic (except for 'rand' for just testing purposes) and the pattern seeking ones try to discern the enemy's next move based on past behavior... Yes it's a bad habit of mine
  9. unreality

    reminds me of an algorithm
  10. I wrote a purely theoretical program (not going to be "unreality!", this one is just to think about) called "collatz" based on the Collatz conjecture/ 3n+1 problem. It's intended to be at the very least, pseudorandom if (i==0) return SCISSORS; int q = 1; for (int qqq=0; qqq<i; qqq++) q += (a[qqq] + b[qqq] + qqq); int steps = 0; while (q != 1) { steps++; if (q%2 == 0) q /= 2; else q = 3*q + 1; } return steps % 3; a random program is going to win 1/3 of the time, tie 1/3 of the time, and lose 1/3 of the time***. We know that 'n' is the number of programs battling in a tournament, so the random/pseudorandom algo will play n-1 games points = wins + .5*ties = (n-1)/3 + .5(n-1)/3 = 2(n-1) + 1(n-1) all over 6 = (n-1)/2 which as we know is the average score overall (n(n-1)/2 total possible points for n people, so average score per person will be (n-1)/2). Assuming the standard deviation is at least 1 or 2 (so far it's consistently been around between 2 and 2.5), this means that any (pseudo)random program won't do top notch but should hang around average. *** this is definitely true for random vs. random, but it applies to random vs. nonrandom too, I'm pretty certain. Any program that has a locked in, static, based-on-'i' or random pattern has 1/3-1/3-1/3 chances against a random opponent. And any algo that uses the enemy's former actions to guess at what they'll do next will fail against a random algorithm and be just as random. Of course if the pseudorandom algo isn't sufficiently pseudorandom and the pattern-predicting algo is VERY good, it might be able to overcome it, and that's all the better for the pattern watcher. So this adds to the above proof that any random program will do around average.
  11. also, just because you can't run a simulation of a new algo against other algos doesn't mean you can't work stuff out in your head or on paper For example, at first I was thinking of doing (i*i) % 3, but then I did it out in my head and realized that it was the simple pattern 0,1,1 repeated so anyway most ideas can be thought through first - sometimes this can be a lot more insightful than just computation anyway
  12. izzy: yeah it'll be after new years phil: clearing it now
  13. Yeah I'm thinking we should each write a new program (or at least copy over our previous one if we really want to make no changes it all). We should spend time and care on our programs and make them our champions. We should NOT however test them in a simulated java arena against other algos (I promise not to do so ). Tourney Three will be the ultimate. We'll each get one submission, called our name followed by an exclamation point, so mine will be "unreality!" and dawh's will be "dawh!" At the very least we should get the following: unreality! phillip1882! dawh! jarze! mrapple! darthnoob! medji! izzy! but in addition to those eight we should try to get some more. In a few days we can set a deadline for T3 and from now until T3 we should advertise around Brainden (and beyond) and try to get as many people as possible to participate! We've learned a lot in all the matches up to this point and full source code is available as well as any simulation runs between the algos that are already now inside the machine - just make a request here on the thread to run such a simulation (but any newly conceived algos are not to be electronically tested). Good luck everybody!!!!!! May the best algorithm win
  14. I made a new program, unr3, and threw it into the mix... [Algos: 22] [Games: 231] [Average Score: 10.5] [sdev: 2.796] [MAD: 2.045] From Greatest to Least: darth1: 16.0 patternSeeker: 15.5 backatyou2: 15.0 mrapple1: 13.0 test2: 11.5 jarze: 11.5 medji1: 11.5 izzy2: 11.0 medji: 11.0 medji2: 11.0 fib2: 11.0 unr2: 10.5 unr3: 10.5 izzy1: 10.0 apple4: 9.5 darth3: 9.5 mr_apple_pi: 9.0 unr1: 8.5 phil: 8.0 izzy: 7.5 phil1: 6.0 phil2: 4.0 The biggest blowout game(s) was(were): test2 won 100 games and izzy1 won 0 ~ there were 0 ties test2 won 0 games and mrapple1 won 100 ~ there were 0 ties test2 won 0 games and darth1 won 100 ~ there were 0 ties test2 won 0 games and unr2 won 100 ~ there were 0 ties backatyou2 won 100 games and phil2 won 0 ~ there were 0 ties phil2 won 0 games and unr3 won 100 ~ there were 0 ties Type y to play again n Thanks for playing! else if (algoNum==31) //unr3 { if (i==0) return PAPER; int sumv=0; for (int zyx=0; zyx<i; zyx++) sumv += b[zyx]; return ((int)((double)(sumv) / (double)(i) + 1.2) % 3); } I must admit though that originally it added 1.5 (.5 then truncating to emulating rounding, the +1 to play what beats it), not 1.2, and it won 9.0 games. Through some random trial and error I found that adding 1.2 boosted it all the way to 10.5 wins. Couldn't say why though
  15. well as requested i'm running a new simulation of T2 at ROUNDS=100 with fib2 instead of darth2 and apple4 instead of apple3.... I was able to do the concept behind apple4 all on one line so that was neat else if (algoNum==30) //apple4 { return ((((i / 15) % 3) - (i % 3) + 4) % 3); } and I think I already posted the code for fib2, if not it will be in the following copy of the whole code: remember that it when it prompts I'll enter "x" which initiates the array to: algos = new int[]{ 2, 4, 14, 15, 10, 11, 19, 20, 12, 18, 30, 13, 29, 17, 21, 28, 24, 25, 5, 22, 23 }; which is all the programs that are in this final emulation of T2... and the tail end of the results are.... wow, fib2 did excellent! It didn't get any of the top places but somehow it managed to bump darth1 into the top slot haha
  16. no. I was getting a strange output until I realized that it was because fibonacci numbers grow exponentially (roughly as powers of the golden ratio) and the 100th fib number is greater than the range for an 'int' variable in java. So i changed it to 'long' and now only the last seven (i=93,94,95,96,97,98,99) are in jeopardy, and Java doesnt support unsigned data types so i just have to figure out what those last seven are manually... http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibtable.html 93 : 12200160415121876738 = 2 x 557 x 2417 x 4531100550901 94 : 19740274219868223167 = 2971215073 x 6643838879 95 : 31940434634990099905 = 5 x 37 x 113 x 761 x 29641 x 67735001 96 : 51680708854858323072 = 27 x 32 x 7 x 23 x 47 x 769 x 1103 x 2207 x 3167 97 : 83621143489848422977 = 193 x 389 x 3084989 x 361040209 98 : 135301852344706746049 = 13 x 29 x 97 x 6168709 x 599786069 99 : 218922995834555169026 = 2 x 17 x 89 x 197 x 19801 x 18546805133 sum up the digits and mod 3 for the digital root 93: 2 94: 2 95: 1 96: 0 97: 1 98: 2 99: 2 so those last seven will just be locked in else if (algoNum==29) //fib2 { if (i<2) return i; if (i==93 || i==99) return 2; if (i>92) return Math.abs(i - 96); long fa=0,fb=1,tempfib=0; for (int fby=0; fby<i-1; fby++) { tempfib = fb; fb += fa; fa = tempfib; } return (int)(fb % 3); } Mr. Apple wanted to replace his apple3 with a new apple4, another locked pattern but different, but there were some things I was unsure about so I can't run the updated T2 yet until I get that straightened out, then I'll run it (with fib2 replacing darth2 as well)
  17. test2 is the champ from T1: else if (algoNum==2) // test2 { return i % 3; } it returns a set pattern 0,1,2,0,1,2,etc. So it's obliterated by pattern detectors like izzy2, patternSeeker, backatyou2, unr2, etc, but has a curious ability to defeat other simpler programs
  18. actually the 0th fib number is 0, then 1,1,2,3,5,8,13,etc. Is that okay or do you want me to shift em down by 1 step?
  19. I tweaked the analysis some more and also fixed all the programs so that they could be expanded to 100+ rounds. Then I set ROUNDS to be 100. Here are the results: and the code
  20. yeah the good thing about this r/p/s thing is that it doesn't require lots of activity And btw I tweaked the code again a bit, making my "rank in order of greatest to least" thing more efficient as well as adding some more info that the analysis gives you ("biggest blowout") so do you guys think we should have an Ultimate T3 where everyone submits exactly one algorithm to battle the masses?
  21. here's the new code: and what it outputs for T2 (after all the game summaries) Final Results: test2 vs izzy: test2 wins!!! test2 vs izzy1: test2 wins!!! test2 vs izzy2: test2 wins!!! test2 vs jarze: It was a tie!!! test2 vs medji: test2 wins!!! test2 vs medji1: It was a tie!!! test2 vs medji2: medji2 wins!!! test2 vs mr_apple_pi: It was a tie!!! test2 vs mrapple1: mrapple1 wins!!! test2 vs apple3: It was a tie!!! test2 vs darth1: darth1 wins!!! test2 vs darth2: test2 wins!!! test2 vs darth3: darth3 wins!!! test2 vs patternSeeker: patternSeeker wins!!! test2 vs backatyou2: test2 wins!!! test2 vs unr1: test2 wins!!! test2 vs unr2: unr2 wins!!! test2 vs phil: test2 wins!!! test2 vs phil1: It was a tie!!! test2 vs phil2: It was a tie!!! izzy vs izzy1: It was a tie!!! izzy vs izzy2: izzy wins!!! izzy vs jarze: jarze wins!!! izzy vs medji: It was a tie!!! izzy vs medji1: medji1 wins!!! izzy vs medji2: medji2 wins!!! izzy vs mr_apple_pi: It was a tie!!! izzy vs mrapple1: mrapple1 wins!!! izzy vs apple3: apple3 wins!!! izzy vs darth1: darth1 wins!!! izzy vs darth2: darth2 wins!!! izzy vs darth3: izzy wins!!! izzy vs patternSeeker: patternSeeker wins!!! izzy vs backatyou2: backatyou2 wins!!! izzy vs unr1: unr1 wins!!! izzy vs unr2: unr2 wins!!! izzy vs phil: izzy wins!!! izzy vs phil1: izzy wins!!! izzy vs phil2: izzy wins!!! izzy1 vs izzy2: izzy1 wins!!! izzy1 vs jarze: jarze wins!!! izzy1 vs medji: izzy1 wins!!! izzy1 vs medji1: medji1 wins!!! izzy1 vs medji2: medji2 wins!!! izzy1 vs mr_apple_pi: izzy1 wins!!! izzy1 vs mrapple1: mrapple1 wins!!! izzy1 vs apple3: izzy1 wins!!! izzy1 vs darth1: izzy1 wins!!! izzy1 vs darth2: izzy1 wins!!! izzy1 vs darth3: izzy1 wins!!! izzy1 vs patternSeeker: patternSeeker wins!!! izzy1 vs backatyou2: It was a tie!!! izzy1 vs unr1: unr1 wins!!! izzy1 vs unr2: izzy1 wins!!! izzy1 vs phil: izzy1 wins!!! izzy1 vs phil1: izzy1 wins!!! izzy1 vs phil2: izzy1 wins!!! izzy2 vs jarze: jarze wins!!! izzy2 vs medji: medji wins!!! izzy2 vs medji1: izzy2 wins!!! izzy2 vs medji2: It was a tie!!! izzy2 vs mr_apple_pi: mr_apple_pi wins!!! izzy2 vs mrapple1: mrapple1 wins!!! izzy2 vs apple3: It was a tie!!! izzy2 vs darth1: darth1 wins!!! izzy2 vs darth2: darth2 wins!!! izzy2 vs darth3: izzy2 wins!!! izzy2 vs patternSeeker: patternSeeker wins!!! izzy2 vs backatyou2: backatyou2 wins!!! izzy2 vs unr1: It was a tie!!! izzy2 vs unr2: izzy2 wins!!! izzy2 vs phil: izzy2 wins!!! izzy2 vs phil1: phil1 wins!!! izzy2 vs phil2: izzy2 wins!!! jarze vs medji: jarze wins!!! jarze vs medji1: medji1 wins!!! jarze vs medji2: medji2 wins!!! jarze vs mr_apple_pi: jarze wins!!! jarze vs mrapple1: It was a tie!!! jarze vs apple3: jarze wins!!! jarze vs darth1: jarze wins!!! jarze vs darth2: jarze wins!!! jarze vs darth3: jarze wins!!! jarze vs patternSeeker: patternSeeker wins!!! jarze vs backatyou2: jarze wins!!! jarze vs unr1: It was a tie!!! jarze vs unr2: jarze wins!!! jarze vs phil: phil wins!!! jarze vs phil1: It was a tie!!! jarze vs phil2: jarze wins!!! medji vs medji1: medji wins!!! medji vs medji2: medji2 wins!!! medji vs mr_apple_pi: It was a tie!!! medji vs mrapple1: mrapple1 wins!!! medji vs apple3: apple3 wins!!! medji vs darth1: medji wins!!! medji vs darth2: It was a tie!!! medji vs darth3: medji wins!!! medji vs patternSeeker: patternSeeker wins!!! medji vs backatyou2: backatyou2 wins!!! medji vs unr1: medji wins!!! medji vs unr2: medji wins!!! medji vs phil: medji wins!!! medji vs phil1: It was a tie!!! medji vs phil2: It was a tie!!! medji1 vs medji2: It was a tie!!! medji1 vs mr_apple_pi: medji1 wins!!! medji1 vs mrapple1: It was a tie!!! medji1 vs apple3: It was a tie!!! medji1 vs darth1: darth1 wins!!! medji1 vs darth2: darth2 wins!!! medji1 vs darth3: darth3 wins!!! medji1 vs patternSeeker: patternSeeker wins!!! medji1 vs backatyou2: backatyou2 wins!!! medji1 vs unr1: medji1 wins!!! medji1 vs unr2: medji1 wins!!! medji1 vs phil: medji1 wins!!! medji1 vs phil1: medji1 wins!!! medji1 vs phil2: It was a tie!!! medji2 vs mr_apple_pi: medji2 wins!!! medji2 vs mrapple1: mrapple1 wins!!! medji2 vs apple3: apple3 wins!!! medji2 vs darth1: darth1 wins!!! medji2 vs darth2: medji2 wins!!! medji2 vs darth3: darth3 wins!!! medji2 vs patternSeeker: medji2 wins!!! medji2 vs backatyou2: backatyou2 wins!!! medji2 vs unr1: It was a tie!!! medji2 vs unr2: unr2 wins!!! medji2 vs phil: phil wins!!! medji2 vs phil1: medji2 wins!!! medji2 vs phil2: It was a tie!!! mr_apple_pi vs mrapple1: mr_apple_pi wins!!! mr_apple_pi vs apple3: mr_apple_pi wins!!! mr_apple_pi vs darth1: darth1 wins!!! mr_apple_pi vs darth2: It was a tie!!! mr_apple_pi vs darth3: mr_apple_pi wins!!! mr_apple_pi vs patternSeeker: patternSeeker wins!!! mr_apple_pi vs backatyou2: backatyou2 wins!!! mr_apple_pi vs unr1: unr1 wins!!! mr_apple_pi vs unr2: mr_apple_pi wins!!! mr_apple_pi vs phil: mr_apple_pi wins!!! mr_apple_pi vs phil1: mr_apple_pi wins!!! mr_apple_pi vs phil2: mr_apple_pi wins!!! mrapple1 vs apple3: It was a tie!!! mrapple1 vs darth1: darth1 wins!!! mrapple1 vs darth2: mrapple1 wins!!! mrapple1 vs darth3: It was a tie!!! mrapple1 vs patternSeeker: patternSeeker wins!!! mrapple1 vs backatyou2: mrapple1 wins!!! mrapple1 vs unr1: It was a tie!!! mrapple1 vs unr2: unr2 wins!!! mrapple1 vs phil: It was a tie!!! mrapple1 vs phil1: It was a tie!!! mrapple1 vs phil2: It was a tie!!! apple3 vs darth1: darth1 wins!!! apple3 vs darth2: apple3 wins!!! apple3 vs darth3: darth3 wins!!! apple3 vs patternSeeker: patternSeeker wins!!! apple3 vs backatyou2: backatyou2 wins!!! apple3 vs unr1: apple3 wins!!! apple3 vs unr2: It was a tie!!! apple3 vs phil: phil wins!!! apple3 vs phil1: It was a tie!!! apple3 vs phil2: It was a tie!!! darth1 vs darth2: darth1 wins!!! darth1 vs darth3: darth1 wins!!! darth1 vs patternSeeker: patternSeeker wins!!! darth1 vs backatyou2: backatyou2 wins!!! darth1 vs unr1: darth1 wins!!! darth1 vs unr2: darth1 wins!!! darth1 vs phil: darth1 wins!!! darth1 vs phil1: darth1 wins!!! darth1 vs phil2: darth1 wins!!! darth2 vs darth3: darth2 wins!!! darth2 vs patternSeeker: patternSeeker wins!!! darth2 vs backatyou2: backatyou2 wins!!! darth2 vs unr1: unr1 wins!!! darth2 vs unr2: unr2 wins!!! darth2 vs phil: phil wins!!! darth2 vs phil1: darth2 wins!!! darth2 vs phil2: darth2 wins!!! darth3 vs patternSeeker: darth3 wins!!! darth3 vs backatyou2: backatyou2 wins!!! darth3 vs unr1: darth3 wins!!! darth3 vs unr2: unr2 wins!!! darth3 vs phil: darth3 wins!!! darth3 vs phil1: darth3 wins!!! darth3 vs phil2: darth3 wins!!! patternSeeker vs backatyou2: patternSeeker wins!!! patternSeeker vs unr1: It was a tie!!! patternSeeker vs unr2: patternSeeker wins!!! patternSeeker vs phil: phil wins!!! patternSeeker vs phil1: It was a tie!!! patternSeeker vs phil2: patternSeeker wins!!! backatyou2 vs unr1: backatyou2 wins!!! backatyou2 vs unr2: backatyou2 wins!!! backatyou2 vs phil: backatyou2 wins!!! backatyou2 vs phil1: backatyou2 wins!!! backatyou2 vs phil2: backatyou2 wins!!! unr1 vs unr2: unr2 wins!!! unr1 vs phil: phil wins!!! unr1 vs phil1: unr1 wins!!! unr1 vs phil2: unr1 wins!!! unr2 vs phil: unr2 wins!!! unr2 vs phil1: unr2 wins!!! unr2 vs phil2: unr2 wins!!! phil vs phil1: phil wins!!! phil vs phil2: It was a tie!!! phil1 vs phil2: phil1 wins!!! Win Count: test2: 11.0 izzy: 6.5 izzy1: 12.0 izzy2: 6.5 jarze: 14.0 medji: 9.5 medji1: 10.5 medji2: 11.0 mr_apple_pi: 10.0 mrapple1: 12.0 apple3: 8.5 darth1: 15.0 darth2: 7.0 darth3: 9.5 patternSeeker: 16.0 backatyou2: 15.5 unr1: 8.5 unr2: 10.5 phil: 8.0 phil1: 5.0 phil2: 3.5 Type y for analysis y [Algos: 21] [Games: 210] [Average Score: 10.0] [sdev: 3.291] [MAD: 2.619] From Greatest to Least: patternSeeker: 16.0 backatyou2: 15.5 darth1: 15.0 jarze: 14.0 izzy1: 12.0 mrapple1: 12.0 test2: 11.0 medji2: 11.0 medji1: 10.5 unr2: 10.5 mr_apple_pi: 10.0 medji: 9.5 darth3: 9.5 apple3: 8.5 unr1: 8.5 phil: 8.0 darth2: 7.0 izzy: 6.5 izzy2: 6.5 phil1: 5.0 phil2: 3.5 Type y to play again n Thanks for playing!
  22. that's what I did originally, but it required a giant if structure to decide which method to use and then locate that method and run it. However the new system I wrote just has an array and displays them along with a number for the user and the user types in the number which is then used to run the algorithm. It's much easier that way and dawh: thanks but I was just going to write it myself and keep it simple (and hopefully as efficient as possible hehe)
  23. just confirming the stats… there were 21 algos, so the total point count should be 21 * 20 / 2 or 210, and I confirmed that there were 210 games it ran and that all the point counts also added up to 210 So the average score was 210/21 = 10, so "mr_apple_pi" is the exact 10-point average program…
  24. well I tried to post the whole thing but it was waaaay too long and Brainden wouldnt accept it even when I split into fourths. So if you want the blow-by-blow of any single matchoff, just ask for it The important bit: Final Results: test2 vs izzy: test2 wins!!! test2 vs izzy1: test2 wins!!! test2 vs izzy2: test2 wins!!! test2 vs jarze: It was a tie!!! test2 vs medji: test2 wins!!! test2 vs medji1: It was a tie!!! test2 vs medji2: medji2 wins!!! test2 vs mr_apple_pi: It was a tie!!! test2 vs mrapple1: mrapple1 wins!!! test2 vs apple3: It was a tie!!! test2 vs darth1: darth1 wins!!! test2 vs darth2: test2 wins!!! test2 vs darth3: darth3 wins!!! test2 vs patternSeeker: patternSeeker wins!!! test2 vs backatyou2: test2 wins!!! test2 vs unr1: test2 wins!!! test2 vs unr2: unr2 wins!!! test2 vs phil: test2 wins!!! test2 vs phil1: It was a tie!!! test2 vs phil2: It was a tie!!! izzy vs izzy1: It was a tie!!! izzy vs izzy2: izzy wins!!! izzy vs jarze: jarze wins!!! izzy vs medji: It was a tie!!! izzy vs medji1: medji1 wins!!! izzy vs medji2: medji2 wins!!! izzy vs mr_apple_pi: It was a tie!!! izzy vs mrapple1: mrapple1 wins!!! izzy vs apple3: apple3 wins!!! izzy vs darth1: darth1 wins!!! izzy vs darth2: darth2 wins!!! izzy vs darth3: izzy wins!!! izzy vs patternSeeker: patternSeeker wins!!! izzy vs backatyou2: backatyou2 wins!!! izzy vs unr1: unr1 wins!!! izzy vs unr2: unr2 wins!!! izzy vs phil: izzy wins!!! izzy vs phil1: izzy wins!!! izzy vs phil2: izzy wins!!! izzy1 vs izzy2: izzy1 wins!!! izzy1 vs jarze: jarze wins!!! izzy1 vs medji: izzy1 wins!!! izzy1 vs medji1: medji1 wins!!! izzy1 vs medji2: medji2 wins!!! izzy1 vs mr_apple_pi: izzy1 wins!!! izzy1 vs mrapple1: mrapple1 wins!!! izzy1 vs apple3: izzy1 wins!!! izzy1 vs darth1: izzy1 wins!!! izzy1 vs darth2: izzy1 wins!!! izzy1 vs darth3: izzy1 wins!!! izzy1 vs patternSeeker: patternSeeker wins!!! izzy1 vs backatyou2: It was a tie!!! izzy1 vs unr1: unr1 wins!!! izzy1 vs unr2: izzy1 wins!!! izzy1 vs phil: izzy1 wins!!! izzy1 vs phil1: izzy1 wins!!! izzy1 vs phil2: izzy1 wins!!! izzy2 vs jarze: jarze wins!!! izzy2 vs medji: medji wins!!! izzy2 vs medji1: izzy2 wins!!! izzy2 vs medji2: It was a tie!!! izzy2 vs mr_apple_pi: mr_apple_pi wins!!! izzy2 vs mrapple1: mrapple1 wins!!! izzy2 vs apple3: It was a tie!!! izzy2 vs darth1: darth1 wins!!! izzy2 vs darth2: darth2 wins!!! izzy2 vs darth3: izzy2 wins!!! izzy2 vs patternSeeker: patternSeeker wins!!! izzy2 vs backatyou2: backatyou2 wins!!! izzy2 vs unr1: It was a tie!!! izzy2 vs unr2: izzy2 wins!!! izzy2 vs phil: izzy2 wins!!! izzy2 vs phil1: phil1 wins!!! izzy2 vs phil2: izzy2 wins!!! jarze vs medji: jarze wins!!! jarze vs medji1: medji1 wins!!! jarze vs medji2: medji2 wins!!! jarze vs mr_apple_pi: jarze wins!!! jarze vs mrapple1: It was a tie!!! jarze vs apple3: jarze wins!!! jarze vs darth1: jarze wins!!! jarze vs darth2: jarze wins!!! jarze vs darth3: jarze wins!!! jarze vs patternSeeker: patternSeeker wins!!! jarze vs backatyou2: jarze wins!!! jarze vs unr1: It was a tie!!! jarze vs unr2: jarze wins!!! jarze vs phil: phil wins!!! jarze vs phil1: It was a tie!!! jarze vs phil2: jarze wins!!! medji vs medji1: medji wins!!! medji vs medji2: medji2 wins!!! medji vs mr_apple_pi: It was a tie!!! medji vs mrapple1: mrapple1 wins!!! medji vs apple3: apple3 wins!!! medji vs darth1: medji wins!!! medji vs darth2: It was a tie!!! medji vs darth3: medji wins!!! medji vs patternSeeker: patternSeeker wins!!! medji vs backatyou2: backatyou2 wins!!! medji vs unr1: medji wins!!! medji vs unr2: medji wins!!! medji vs phil: medji wins!!! medji vs phil1: It was a tie!!! medji vs phil2: It was a tie!!! medji1 vs medji2: It was a tie!!! medji1 vs mr_apple_pi: medji1 wins!!! medji1 vs mrapple1: It was a tie!!! medji1 vs apple3: It was a tie!!! medji1 vs darth1: darth1 wins!!! medji1 vs darth2: darth2 wins!!! medji1 vs darth3: darth3 wins!!! medji1 vs patternSeeker: patternSeeker wins!!! medji1 vs backatyou2: backatyou2 wins!!! medji1 vs unr1: medji1 wins!!! medji1 vs unr2: medji1 wins!!! medji1 vs phil: medji1 wins!!! medji1 vs phil1: medji1 wins!!! medji1 vs phil2: It was a tie!!! medji2 vs mr_apple_pi: medji2 wins!!! medji2 vs mrapple1: mrapple1 wins!!! medji2 vs apple3: apple3 wins!!! medji2 vs darth1: darth1 wins!!! medji2 vs darth2: medji2 wins!!! medji2 vs darth3: darth3 wins!!! medji2 vs patternSeeker: medji2 wins!!! medji2 vs backatyou2: backatyou2 wins!!! medji2 vs unr1: It was a tie!!! medji2 vs unr2: unr2 wins!!! medji2 vs phil: phil wins!!! medji2 vs phil1: medji2 wins!!! medji2 vs phil2: It was a tie!!! mr_apple_pi vs mrapple1: mr_apple_pi wins!!! mr_apple_pi vs apple3: mr_apple_pi wins!!! mr_apple_pi vs darth1: darth1 wins!!! mr_apple_pi vs darth2: It was a tie!!! mr_apple_pi vs darth3: mr_apple_pi wins!!! mr_apple_pi vs patternSeeker: patternSeeker wins!!! mr_apple_pi vs backatyou2: backatyou2 wins!!! mr_apple_pi vs unr1: unr1 wins!!! mr_apple_pi vs unr2: mr_apple_pi wins!!! mr_apple_pi vs phil: mr_apple_pi wins!!! mr_apple_pi vs phil1: mr_apple_pi wins!!! mr_apple_pi vs phil2: mr_apple_pi wins!!! mrapple1 vs apple3: It was a tie!!! mrapple1 vs darth1: darth1 wins!!! mrapple1 vs darth2: mrapple1 wins!!! mrapple1 vs darth3: It was a tie!!! mrapple1 vs patternSeeker: patternSeeker wins!!! mrapple1 vs backatyou2: mrapple1 wins!!! mrapple1 vs unr1: It was a tie!!! mrapple1 vs unr2: unr2 wins!!! mrapple1 vs phil: It was a tie!!! mrapple1 vs phil1: It was a tie!!! mrapple1 vs phil2: It was a tie!!! apple3 vs darth1: darth1 wins!!! apple3 vs darth2: apple3 wins!!! apple3 vs darth3: darth3 wins!!! apple3 vs patternSeeker: patternSeeker wins!!! apple3 vs backatyou2: backatyou2 wins!!! apple3 vs unr1: apple3 wins!!! apple3 vs unr2: It was a tie!!! apple3 vs phil: phil wins!!! apple3 vs phil1: It was a tie!!! apple3 vs phil2: It was a tie!!! darth1 vs darth2: darth1 wins!!! darth1 vs darth3: darth1 wins!!! darth1 vs patternSeeker: patternSeeker wins!!! darth1 vs backatyou2: backatyou2 wins!!! darth1 vs unr1: darth1 wins!!! darth1 vs unr2: darth1 wins!!! darth1 vs phil: darth1 wins!!! darth1 vs phil1: darth1 wins!!! darth1 vs phil2: darth1 wins!!! darth2 vs darth3: darth2 wins!!! darth2 vs patternSeeker: patternSeeker wins!!! darth2 vs backatyou2: backatyou2 wins!!! darth2 vs unr1: unr1 wins!!! darth2 vs unr2: unr2 wins!!! darth2 vs phil: phil wins!!! darth2 vs phil1: darth2 wins!!! darth2 vs phil2: darth2 wins!!! darth3 vs patternSeeker: darth3 wins!!! darth3 vs backatyou2: backatyou2 wins!!! darth3 vs unr1: darth3 wins!!! darth3 vs unr2: unr2 wins!!! darth3 vs phil: darth3 wins!!! darth3 vs phil1: darth3 wins!!! darth3 vs phil2: darth3 wins!!! patternSeeker vs backatyou2: patternSeeker wins!!! patternSeeker vs unr1: It was a tie!!! patternSeeker vs unr2: patternSeeker wins!!! patternSeeker vs phil: phil wins!!! patternSeeker vs phil1: It was a tie!!! patternSeeker vs phil2: patternSeeker wins!!! backatyou2 vs unr1: backatyou2 wins!!! backatyou2 vs unr2: backatyou2 wins!!! backatyou2 vs phil: backatyou2 wins!!! backatyou2 vs phil1: backatyou2 wins!!! backatyou2 vs phil2: backatyou2 wins!!! unr1 vs unr2: unr2 wins!!! unr1 vs phil: phil wins!!! unr1 vs phil1: unr1 wins!!! unr1 vs phil2: unr1 wins!!! unr2 vs phil: unr2 wins!!! unr2 vs phil1: unr2 wins!!! unr2 vs phil2: unr2 wins!!! phil vs phil1: phil wins!!! phil vs phil2: It was a tie!!! phil1 vs phil2: phil1 wins!!! Win Count: test2: 11.0 izzy: 6.5 izzy1: 12.0 izzy2: 6.5 jarze: 14.0 medji: 9.5 medji1: 10.5 medji2: 11.0 mr_apple_pi: 10.0 mrapple1: 12.0 apple3: 8.5 darth1: 15.0 darth2: 7.0 darth3: 9.5 patternSeeker: 16.0 backatyou2: 15.5 unr1: 8.5 unr2: 10.5 phil: 8.0 phil1: 5.0 phil2: 3.5 in order of score: patternSeeker: 16.0 backatyou2: 15.5 darth1: 15.0 jarze: 14.0 izzy1: 12.0 mrapple1: 12.0 test2: 11.0 medji2: 11.0 unr2: 10.5 medji1: 10.5 mr_apple_pi: 10.0 medji: 9.5 darth3: 9.5 apple3: 8.5 unr1: 8.5 phil: 8.0 darth2: 7.0 izzy: 6.5 izzy2: 6.5 phil1: 5.0 phil2: 3.5 phew, getting them in order was a bit of a pain. I'm gonna add some code to make the system put them in order of most points to least for future use, and to calculate certain stats like these: the total # of games is of course pre-determined to n/2 * (n-1) if there are n players, so the average score will always be (n-1)/2, but the standard deviation COULD be calculated (I'll have the system do that too). I'll make those changes in a second but they don't affect the results of course: Dawh's algorithms seem to be most effective Pattern guessing methods seem to be working to the best, although there are some other interesting strategies that are near the top
  25. alright here is the final code as of T2, including backatyou2 and phil2 Final Official T2 results coming in a moment. These are the contestants and their index in parentheses Previous Champion: test2 (2) Izzy's algos: izzy, izzy1, izzy2 (4, 14, 15) Jarze's champion: jarze (10) Medji's algos: medji, medji1, medji2 (11, 19, 20) Mr. Apple's programs: mr_apple_pi, mrapple1, and his recent submission apple3 (12, 18, 27) DarthNoob's algoritms: darth1, darth2, darth3 (13, 16, 17) dawh's two destroyers: patternSeeker and backatyou2 (21, 28) my programs: unr1, unr2 (24, 25) ~ and you might count "test2" as my third but it's already in the list phillip1882's algos: phil, phil1, phil2 (5, 22, 23) and there you have it. The list going in for the final T2 is: 2, 4, 14, 15, 10, 11, 19, 20, 12, 18, 27, 13, 16, 17, 21, 28, 24, 25, 5, 22, 23 standby for the results...
×
×
  • Create New...