LotR TCG Wiki → Card Sets:  All 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 → Forums:  TLHH CC

Author Topic: Dice Roller  (Read 7574 times)

0 Members and 1 Guest are viewing this topic.

November 05, 2008, 11:16:27 AM
Reply #45

Gate Troll

  • *****
  • Information Offline
  • Ranger
  • Posts: 971
Re: Dice Roller
« Reply #45 on: November 05, 2008, 11:16:27 AM »

  Rolling 20d6:   (3+5+2+3+6+3+5+3+2+3+4+2+2+3+6+4+2+5+3+5): Total = 71

« Last Edit: November 05, 2008, 11:18:31 AM by Gate Troll »

November 05, 2008, 11:21:47 AM
Reply #46

FM

  • Future Judge
  • *******
  • Information Offline
  • Wizard
  • Posts: 4074
Re: Dice Roller
« Reply #46 on: November 05, 2008, 11:21:47 AM »
Meh... We're talking... what? 2 hits? You'd still have to roll for damage, though. THAT'S where the real trick is!

November 05, 2008, 12:25:38 PM
Reply #47

CarpeGuitarrem

  • ******
  • Information Offline
  • Lord
  • Posts: 3467
Re: Dice Roller
« Reply #47 on: November 05, 2008, 12:25:38 PM »

  Rolling 3d6+1:   (3+2+4)+1: Total = 10


November 07, 2008, 08:27:26 AM
Reply #48

sickofpalantirs

  • *****
  • Information Offline
  • Useful Spammer
  • Posts: 8880
  • one spammer to rule them all
Re: Dice Roller
« Reply #48 on: November 07, 2008, 08:27:26 AM »
Meh... We're talking... what? 2 hits? You'd still have to roll for damage, though. THAT'S where the real trick is!


  Rolling 2d20:   (4+11): Total = 15



Felipe Musco:
(after all, it's a CHARITY organization, I still have SOME principles, even having gone through Law School... :P),
Elf Lvr:
Bit of a scrawny Iowan kid with an unhealthy artifact obsession. Oh, and a God of Spam. In a good way.
Ahhh!!! SoP, you're a genius!!! :gp: ~Menace64
SoP's Trade List
Like Muscle Cars? Check out themusclecarplace.com

November 07, 2008, 08:27:54 AM
Reply #49

sickofpalantirs

  • *****
  • Information Offline
  • Useful Spammer
  • Posts: 8880
  • one spammer to rule them all
Re: Dice Roller
« Reply #49 on: November 07, 2008, 08:27:54 AM »
truly...FM speaks the truth...lets try again...


  Rolling 2d20:   (15+8): Total = 23

Felipe Musco:
(after all, it's a CHARITY organization, I still have SOME principles, even having gone through Law School... :P),
Elf Lvr:
Bit of a scrawny Iowan kid with an unhealthy artifact obsession. Oh, and a God of Spam. In a good way.
Ahhh!!! SoP, you're a genius!!! :gp: ~Menace64
SoP's Trade List
Like Muscle Cars? Check out themusclecarplace.com

November 07, 2008, 03:11:18 PM
Reply #50

TheJord

  • League Director
  • *****
  • Information Offline
  • King
  • Posts: 2294
  • High King of Rules
    • GamesCobra
Re: Dice Roller
« Reply #50 on: November 07, 2008, 03:11:18 PM »
Wow there is 4 pages on this dice roller... is that really necessary? Especially in the Golden Hall
"The rule of Gondor is mine!"

November 19, 2008, 11:48:03 AM
Reply #51

macheteman

  • *****
  • Information Offline
  • Knight
  • Posts: 1937
Re: Dice Roller
« Reply #51 on: November 19, 2008, 11:48:03 AM »
y'know, besides the one sided dice (and zero sided dice) i never saw a single 1 rolled. it that on purpose?

November 19, 2008, 12:23:37 PM
Reply #52

Kralik

  • Guest
Re: Dice Roller
« Reply #52 on: November 19, 2008, 12:23:37 PM »

  Rolling 18d6:   (2+6+6+5+3+2+2+4+3+6+2+6+2+4+6+5+6+5): Total = 75


November 19, 2008, 12:23:56 PM
Reply #53

Kralik

  • Guest
Re: Dice Roller
« Reply #53 on: November 19, 2008, 12:23:56 PM »

  Rolling 20d2:   (2+2+2+2+2+2+1+2+2+2+2+1+1+2+2+1+2+2+2+2): Total = 36


November 19, 2008, 12:24:38 PM
Reply #54

Kralik

  • Guest
Re: Dice Roller
« Reply #54 on: November 19, 2008, 12:24:38 PM »
Odd... it definitely seems to shy away from 1's! Maybe I can check the code.

Another test:

  Rolling 20d3:   (3+2+2+3+2+2+3+3+2+2+3+3+2+2+2+2+3+3+3+2): Total = 49


November 19, 2008, 12:25:10 PM
Reply #55

Kralik

  • Guest
Re: Dice Roller
« Reply #55 on: November 19, 2008, 12:25:10 PM »
Good call, mm. Doesn't seem random! I'll look into it. :gp:

November 19, 2008, 12:59:02 PM
Reply #56

macheteman

  • *****
  • Information Offline
  • Knight
  • Posts: 1937
Re: Dice Roller
« Reply #56 on: November 19, 2008, 12:59:02 PM »
thanks for the gold, matey! yeah, "seems to shy away from 1's" is a good way to put it. because it obviously rolled a few with the 2-sided die. but not many...

November 25, 2008, 03:42:42 PM
Reply #57

Kralik

  • Guest
Re: Dice Roller
« Reply #57 on: November 25, 2008, 03:42:42 PM »
Well, after a lot of pulling my hair out, I rewrote the dice rolling code a bit. It was, in fact, perfectly good code... but for whatever reason it was "shying away" from the low end of the random number range (1 in this case). Now you should see quite a few more one's:


  Rolling 20d6:   (1+3+6+1+4+6+2+1+2+3+1+6+6+6+6+4+3+5+5+3): Total = 74



  Rolling 20d6:   (5+6+4+2+5+4+5+1+1+1+2+4+3+6+4+5+5+5+6+3): Total = 77



  Rolling 20d6:   (3+3+1+2+1+3+4+1+4+1+4+1+1+1+1+5+5+4+1+5): Total = 51



  Rolling 20d6:   (1+3+4+2+2+1+3+3+6+4+5+6+3+2+5+4+1+4+5+1): Total = 65



  Rolling 20d6:   (3+3+2+6+1+6+5+2+2+5+6+4+3+3+1+3+1+4+6+2): Total = 68


November 25, 2008, 08:03:56 PM
Reply #58

macheteman

  • *****
  • Information Offline
  • Knight
  • Posts: 1937
Re: Dice Roller
« Reply #58 on: November 25, 2008, 08:03:56 PM »
cool! it works better methinks!