Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Urgent! Homework problem - need helps! Pleeeesszzz!

Urgent! Homework problem - need helps! Pleeeesszzz!

Scheduled Pinned Locked Moved The Lounge
questiongame-devhelp
30 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F ftw melvin

    Cut a hexagon out of a cereal box, number each side and push a pencil through the centre. Spin it and it will land on a number from one to six. You need a Games Workshop for a die or two, although I'm sure Woolies are probably giving them away.

    "If you reward everyone, there will not be enough to go around, so you offer a reward to one in order to encourage everyone." Mei Yaochen in the 'Doing Battle' section of Sun Tzu's: Art of War. .

    N Offline
    N Offline
    Nagy Vilmos
    wrote on last edited by
    #8

    [ftw]melvin wrote:

    Games Workshop

    Only boxes of 25 in a single colour. I actually need three different colours so that would require 75 dice, slightly OTT.

    [ftw]melvin wrote:

    I'm sure Woolies are probably giving them away

    Woolies said:

    *sniff* not really mate *sniff* ow bout a game wiv some dices init? *sniff*

    Can't understand why they're going out of business myself.


    Panic, Chaos, Destruction. My work here is done.

    1 Reply Last reply
    0
    • S Steve Dubyo

      How about a "spinner"? a hexagonal peice of card with something along the lines of a toothpick or small pencil through the middle (taking appropriate health and safety precautions!), each side represents a number 1-6, give it a spin and whichever side it comes to rest on dictates the next move. It will give her a bit more colouring in to do too!

      ;-]

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #9

      Thanks, and the others, for the spinner sugestion. That was my plan B-II for v2.11.17 of the game. :-D


      Panic, Chaos, Destruction. My work here is done.

      1 Reply Last reply
      0
      • B Bassam Abdul Baki

        My four year old wants to play Monopoly all the time. He likes the money and the colors. For a change, we decided to play with 7 dies instead. Now we pass GO very quickly. :-)


        Web - Blog - RSS - Math - BM

        D Offline
        D Offline
        Dave Sexton
        wrote on last edited by
        #10

        Ah, another Donald Trump in the making :)

        But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
        Because programming is an art, not a science. Marc Clifton
        I gave up when I couldn't spell "egg". Justine Allen

        1 Reply Last reply
        0
        • N Nagy Vilmos

          It's not my homework and it's nothing to do with computers. I just need an idea and I need it in the next four hours! My eldest daughter is making a game for a school project. We've done most of it (actually I did the layout for her and she coloured it in). We've made lots of pretty counters and we know how the game will work. Even my three year old monster-angel (tm) understands. Now for the problem... We've been using dice, but (i) I'm not overly happy about it and (ii) I don't want her take the few dice we have to school and loose them. I thought I could find a few dice in one of the shops. Not on your Aunt Nelly's Life! So any ideas guys? Something a six year-old can make and use that will allow a bit of chance in travelling around what is basically a simple maze.


          Panic, Chaos, Destruction. My work here is done.

          G Offline
          G Offline
          Gary Wheeler
          wrote on last edited by
          #11

          Use 6 pennies. Have the kids shake them in a cup, and pour them on a table. Count the number of heads.

          Software Zen: delete this;

          N M B 3 Replies Last reply
          0
          • S Steve Dubyo

            How about a "spinner"? a hexagonal peice of card with something along the lines of a toothpick or small pencil through the middle (taking appropriate health and safety precautions!), each side represents a number 1-6, give it a spin and whichever side it comes to rest on dictates the next move. It will give her a bit more colouring in to do too!

            ;-]

            S Offline
            S Offline
            Steve Thresher
            wrote on last edited by
            #12

            How did you come up with that idea I wonder?

            S 1 Reply Last reply
            0
            • G Gary Wheeler

              Use 6 pennies. Have the kids shake them in a cup, and pour them on a table. Count the number of heads.

              Software Zen: delete this;

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #13

              Now that I like!


              Panic, Chaos, Destruction. My work here is done.

              1 Reply Last reply
              0
              • S Steve Thresher

                How did you come up with that idea I wonder?

                S Offline
                S Offline
                Steve Dubyo
                wrote on last edited by
                #14

                Hah! Yes I see we suggested the same thing, I didn't refresh before I posted my reply. Great minds and all that! ;-]

                ;-]

                1 Reply Last reply
                0
                • N Nagy Vilmos

                  It's not my homework and it's nothing to do with computers. I just need an idea and I need it in the next four hours! My eldest daughter is making a game for a school project. We've done most of it (actually I did the layout for her and she coloured it in). We've made lots of pretty counters and we know how the game will work. Even my three year old monster-angel (tm) understands. Now for the problem... We've been using dice, but (i) I'm not overly happy about it and (ii) I don't want her take the few dice we have to school and loose them. I thought I could find a few dice in one of the shops. Not on your Aunt Nelly's Life! So any ideas guys? Something a six year-old can make and use that will allow a bit of chance in travelling around what is basically a simple maze.


                  Panic, Chaos, Destruction. My work here is done.

                  C Offline
                  C Offline
                  carbon_golem
                  wrote on last edited by
                  #15

                  Here's a youtube vid on making them out of folded paper, but the pennies idea is good too. Hope there aren't any other greedy kids... http://www.youtube.com/watch?v=SWAIFCraUvo I'm sure you could find other die types if your game required, say, a dodecahedron (12 sided die, but that's only used for rolling damage on a Greataxe). By the way, you don't have to make excuses for needing a D&D fix, and your wife threw out all your dice. I came "out of the dungeon" some years ago. It's liberating to say out loud "I'm a Dungeon Master and I'm fine with that!" or "I enjoy playing my level 16 half-elf ranger!" Wait... I think my wife is coming upstairs... gotta go. Hope that helps! Scott P

                  "Simplicity carried to the extreme becomes elegance."
                  -Jon Franklin

                  1 Reply Last reply
                  0
                  • G Gary Wheeler

                    Use 6 pennies. Have the kids shake them in a cup, and pour them on a table. Count the number of heads.

                    Software Zen: delete this;

                    M Offline
                    M Offline
                    Mike Holpuch
                    wrote on last edited by
                    #16

                    It's been a while since I did any statistics, but does 6 pennies in a cup provide an even distribution? :^) I thought it would lean more heavily towards the middle numbers (3 and 4 or whatever). Of course, this is a kids' game, so it might not matter...

                    M G 2 Replies Last reply
                    0
                    • M Mike Holpuch

                      It's been a while since I did any statistics, but does 6 pennies in a cup provide an even distribution? :^) I thought it would lean more heavily towards the middle numbers (3 and 4 or whatever). Of course, this is a kids' game, so it might not matter...

                      M Offline
                      M Offline
                      moon_stick
                      wrote on last edited by
                      #17

                      There are more solutions in the problem space that provide a central result (e.g. only one zero and one 6 - hhhhhh and tttttt) whereas you'll have around 1/3 of your distribution around '3' and about 1/4 for each of '2' and '4'.

                      It definitely isn't definatley

                      1 Reply Last reply
                      0
                      • M Mike Holpuch

                        It's been a while since I did any statistics, but does 6 pennies in a cup provide an even distribution? :^) I thought it would lean more heavily towards the middle numbers (3 and 4 or whatever). Of course, this is a kids' game, so it might not matter...

                        G Offline
                        G Offline
                        Gary Wheeler
                        wrote on last edited by
                        #18

                        I believe 6 pennies matches the behavior of a single die, at least sufficiently for the purposes of a kid's game.

                        Software Zen: delete this;

                        J 1 Reply Last reply
                        0
                        • N Nagy Vilmos

                          It's not my homework and it's nothing to do with computers. I just need an idea and I need it in the next four hours! My eldest daughter is making a game for a school project. We've done most of it (actually I did the layout for her and she coloured it in). We've made lots of pretty counters and we know how the game will work. Even my three year old monster-angel (tm) understands. Now for the problem... We've been using dice, but (i) I'm not overly happy about it and (ii) I don't want her take the few dice we have to school and loose them. I thought I could find a few dice in one of the shops. Not on your Aunt Nelly's Life! So any ideas guys? Something a six year-old can make and use that will allow a bit of chance in travelling around what is basically a simple maze.


                          Panic, Chaos, Destruction. My work here is done.

                          T Offline
                          T Offline
                          thrakazog
                          wrote on last edited by
                          #19

                          Find yourself a D&D/ board game shop. Those usually have bins of loose dice you can buy dirt cheap. Send her to school with 20. If she comes back with 3 call it a win.

                          1 Reply Last reply
                          0
                          • G Gary Wheeler

                            Use 6 pennies. Have the kids shake them in a cup, and pour them on a table. Count the number of heads.

                            Software Zen: delete this;

                            B Offline
                            B Offline
                            Babant
                            wrote on last edited by
                            #20

                            I understand the problem right, we need to find a substitute for throwing a dice. Probability of getting each one number on a dice is 1/6 ... one out of six ... something like 16.6% But when you throw six pennies, you have to use different formula for probability. That is: P(x) = (n above x) × p^x × (1-p)^(n-x), where n is number of pennies ... in our case 6, x is number of favorable events ... heads in our case, and p is probability of one favorable event ... in our case, heads or tails, 0.5 long story short :) Probability of getting 1 is 0,09375 Probability of getting 2 is 0,234375 Probability of getting 3 is 0,3125 Probability of getting 4 is 0,234375 Probability of getting 5 is 0,09375 Probability of getting 6 is 0,015625 Plus, there is probability of 0.015625 of getting 0

                            1 Reply Last reply
                            0
                            • G Gary Wheeler

                              I believe 6 pennies matches the behavior of a single die, at least sufficiently for the purposes of a kid's game.

                              Software Zen: delete this;

                              J Offline
                              J Offline
                              Jason Lepack LeppyR64
                              wrote on last edited by
                              #21

                              Not even close to a regular die. Odds: 0 = 1/64 1 = 6/64 2 = 15/64 3 = 20/64 4 = 15/64 5 = 6/64 6 = 1/64

                              G 1 Reply Last reply
                              0
                              • N Nagy Vilmos

                                It's not my homework and it's nothing to do with computers. I just need an idea and I need it in the next four hours! My eldest daughter is making a game for a school project. We've done most of it (actually I did the layout for her and she coloured it in). We've made lots of pretty counters and we know how the game will work. Even my three year old monster-angel (tm) understands. Now for the problem... We've been using dice, but (i) I'm not overly happy about it and (ii) I don't want her take the few dice we have to school and loose them. I thought I could find a few dice in one of the shops. Not on your Aunt Nelly's Life! So any ideas guys? Something a six year-old can make and use that will allow a bit of chance in travelling around what is basically a simple maze.


                                Panic, Chaos, Destruction. My work here is done.

                                B Offline
                                B Offline
                                Babant
                                wrote on last edited by
                                #22

                                Just use a pencil. I don't know about your area, but where I'm from, most of the pencils are hexagonal. So you just write numbers 1 - 6 on each side and throw the pencil.

                                D 1 Reply Last reply
                                0
                                • B Babant

                                  Just use a pencil. I don't know about your area, but where I'm from, most of the pencils are hexagonal. So you just write numbers 1 - 6 on each side and throw the pencil.

                                  D Offline
                                  D Offline
                                  Dan Neely
                                  wrote on last edited by
                                  #23

                                  Eraser! Throw again. Point in Sussy's Eye. Call the lawyers! :doh:

                                  Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                                  1 Reply Last reply
                                  0
                                  • J Jason Lepack LeppyR64

                                    Not even close to a regular die. Odds: 0 = 1/64 1 = 6/64 2 = 15/64 3 = 20/64 4 = 15/64 5 = 6/64 6 = 1/64

                                    G Offline
                                    G Offline
                                    Gary Wheeler
                                    wrote on last edited by
                                    #24

                                    You've got to consider the audience here. This is for a kid's game. That means you've got to be able to explain how it works and the rules to a kid. KISS: Keep It Simple, Stupid. I doubt it matters that the distribution is not the same as with a regular die. Come to think of it, it does not matter. As long as the probability of each player getting the value of a particular 'roll' is the same as every other player's probability of getting that same roll, then the gameplay is fair.

                                    Software Zen: delete this;

                                    J 1 Reply Last reply
                                    0
                                    • G Gary Wheeler

                                      You've got to consider the audience here. This is for a kid's game. That means you've got to be able to explain how it works and the rules to a kid. KISS: Keep It Simple, Stupid. I doubt it matters that the distribution is not the same as with a regular die. Come to think of it, it does not matter. As long as the probability of each player getting the value of a particular 'roll' is the same as every other player's probability of getting that same roll, then the gameplay is fair.

                                      Software Zen: delete this;

                                      J Offline
                                      J Offline
                                      Jason Lepack LeppyR64
                                      wrote on last edited by
                                      #25

                                      I did consider the audience. I didn't discount the fact that it was close enough for a kids game. I don't know any 6 year olds that read this forum. I discounted the fact that YOU mentioned that 6 coins in a cup closely modeled a standard die. ;P

                                      G 1 Reply Last reply
                                      0
                                      • N Nagy Vilmos

                                        It's not my homework and it's nothing to do with computers. I just need an idea and I need it in the next four hours! My eldest daughter is making a game for a school project. We've done most of it (actually I did the layout for her and she coloured it in). We've made lots of pretty counters and we know how the game will work. Even my three year old monster-angel (tm) understands. Now for the problem... We've been using dice, but (i) I'm not overly happy about it and (ii) I don't want her take the few dice we have to school and loose them. I thought I could find a few dice in one of the shops. Not on your Aunt Nelly's Life! So any ideas guys? Something a six year-old can make and use that will allow a bit of chance in travelling around what is basically a simple maze.


                                        Panic, Chaos, Destruction. My work here is done.

                                        J Offline
                                        J Offline
                                        Joe Woodbury
                                        wrote on last edited by
                                        #26

                                        You're kidding, right? You can get a box of dice at your local discount store for almost nothing--certainly for less than the effort it would take to come up with some lame work around.

                                        Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                                        1 Reply Last reply
                                        0
                                        • J Jason Lepack LeppyR64

                                          I did consider the audience. I didn't discount the fact that it was close enough for a kids game. I don't know any 6 year olds that read this forum. I discounted the fact that YOU mentioned that 6 coins in a cup closely modeled a standard die. ;P

                                          G Offline
                                          G Offline
                                          Gary Wheeler
                                          wrote on last edited by
                                          #27

                                          As long as we're being pedantic here (and we are), I stated: "I believe 6 pennies matches the behavior of a single die, at least sufficiently for the purposes of a kid's game." The behavior in question is that of somewhat randomly choosing a value from one to six (I'll admit I missed the zero case), which is what matters as far as the game is concerned. The part of the statement in bold qualifies the first part.

                                          Software Zen: delete this;

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups