The Math of Being a Greedy Pig - Numberphile

  Рет қаралды 748,330

Numberphile

Numberphile

Күн бұрын

Featuring Ben Sparks.
Check out www.kiwico.com/Numberphile and get 50% off your first month of any subscription.
More links & stuff in full description below ↓↓↓
Extra footage from the making of this video (including Brady trying to roll 50 points and his game against the online Pig Player): • Pigs (extra) - Numberp...
Ben Sparks: www.bensparks.co.uk
More Ben Sparks on Numberphile: bit.ly/Sparks_Playlist
Optimal Play of the Dice Game Pig: cupola.gettysburg.edu/csfac/4/
Online Pig Player: cs.gettysburg.edu/projects/pig...
Ben's Geogebra Pig Strategy simulator: www.geogebra.org/m/ccpnhstm
Pass the Pigs game (Amazon affiliate link): amzn.to/2QvCAqM
Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
We are also supported by Science Sandbox, a Simons Foundation initiative dedicated to engaging everyone with the process of science. www.simonsfoundation.org/outr...
And support from Math For America - www.mathforamerica.org/
NUMBERPHILE
Website: www.numberphile.com/
Numberphile on Facebook: / numberphile
Numberphile tweets: / numberphile
Subscribe: bit.ly/Numberphile_Sub
Videos by Brady Haran
Patreon: / numberphile
Numberphile T-Shirts and Merch: teespring.com/stores/numberphile
Brady's videos subreddit: / bradyharan
Brady's latest videos across all channels: www.bradyharanblog.com/
Sign up for (occasional) emails: eepurl.com/YdjL9

Пікірлер: 1 000
@numberphile
@numberphile 3 жыл бұрын
Check out www.kiwico.com/Numberphile and get 50% off your first month of any subscription. (Sponsor) Extra footage from the making of this video (including Brady trying to roll 50 points and his game against the online Pig Player): kzbin.info/www/bejne/sHWcXolvfsmVq8k More Ben Sparks on Numberphile: bit.ly/Sparks_Playlist
@Zoxesyr
@Zoxesyr 3 жыл бұрын
you should check out "Cosmic Wimpout"
@lucromel
@lucromel 3 жыл бұрын
So I tried simulating this from a different perspective and the results seem odd, does anyone feel like confirming? I ran a simulation to test what was the most common total you'd get before you rolled a one. As if a player was never banking and just seeing what total they got up to before losing. The most common value I got was 6, which seems low to me, particularly when compared to the data in the video.
@lucromel
@lucromel 3 жыл бұрын
@@JmanNo42 That's not at all what I was testing.
@lucromel
@lucromel 3 жыл бұрын
@@JmanNo42 While scrolling down looking for you code, I found a different comment that explained what was causing me confusion. The most common result is 6 as I thought, but the average result is much higher.
@EdbertWeisly
@EdbertWeisly 3 жыл бұрын
Make a Ball having a radius of 3 cm, make a circle on its surface with a radius of 1 cm How many circles fit in before the two circles intersect one another
@parzh
@parzh 3 жыл бұрын
I like how the most trivial game of dice ever yields a whole 33-minutes video about maths and probabilities
@ekkehard8
@ekkehard8 3 жыл бұрын
This seems rather trivial, I mostly watched because he was hyping the complexity up, but it turned out to be 20 all along
@brandoncalvert8379
@brandoncalvert8379 3 жыл бұрын
right. it doesn't take a ton more complexity before you have a game like chess which has been studied for centuries and is still unsolved lol
@roderik1990
@roderik1990 3 жыл бұрын
@@ekkehard8 Except it isn't 20 all along... Didn't you see the bit where the optimal target number changes up or down depending on how far behind you are and what your total is?
@Narokkurai
@Narokkurai 3 жыл бұрын
The simple problems are often the most expressive ones to solve.
@adminadmin8992
@adminadmin8992 3 жыл бұрын
@@Narokkurai Like what is time?
@Nonsequitorian
@Nonsequitorian 3 жыл бұрын
This was a really engaging episode. Ben Sparks is a solid teacher!
@Robert_McGarry_Poems
@Robert_McGarry_Poems 3 жыл бұрын
At least photogenic, if nothing else. But, I do agree it helps that he knows what he is talking about.
@FLPhotoCatcher
@FLPhotoCatcher 3 жыл бұрын
@Peter Müller That made me laugh. What makes me upset is Kiwico imposed an age limit of 104! This old man is 106 years old! Kiwico, what are ye doing concerning your age limit?
@Epoch11
@Epoch11 3 жыл бұрын
If I had been taught mathematics by someone like this rather than buy a football coach with minimal knowledge of mathematical concepts I might actually enjoy math rather than loathe it. a mathematics teacher should be engaging, animated, and able to keep a student's interest. Usually those kinds of teachers are involved in other subjects like literature or art which creates the wrong impression of what studying mathematics can actually be.a
@johnmaton1401
@johnmaton1401 3 жыл бұрын
Well said
@ishoottheyscore8970
@ishoottheyscore8970 3 жыл бұрын
@@Epoch11 Maths teaching is at the lower end of what a mathematician can earn, it's not the same way for other disciplines. It's also harder to make things like quadratic equations or logarithms engaging or relevant whereas an English teacher can talk about literary devices like foreshadowing or dramatic irony and show TV shows that use it. Maths just has lots of awkward little obstacles in the teaching of it, even more than things like physics which are heavily underpinned by maths. I don't disagree with your point, and I think it's something that maths teachers need to consider, I'm just trying to highlight some of the advantages that other subjects have
@genericexcuse4014
@genericexcuse4014 3 жыл бұрын
0:40 thank you for clarifying that these are not real pigs
@omikronweapon
@omikronweapon 3 жыл бұрын
the chance of them being real is incredibly low, but the implications if they are, far outweigh the effort of mentioning it pointlessly.
@tisajokt7676
@tisajokt7676 3 жыл бұрын
@@omikronweapon comment gold
@heh2393
@heh2393 3 жыл бұрын
@@omikronweapon "inceredibly low, but never zero." *VSauce theme intensifies*
@jasonrubik
@jasonrubik 3 жыл бұрын
@@omikronweapon amazing observation ! What would this concept be called in philosophy or perhaps in another field of study ?
@hybmnzz2658
@hybmnzz2658 3 жыл бұрын
@@jasonrubik in math it reminds me of weighted means and expected value
@veggiet2009
@veggiet2009 3 жыл бұрын
Lawyers in lockdown: I'm a person, I'm not a cat Mathmaticians in lockdown: these are plastic pigs, they aren't real pigs
@cneer17
@cneer17 3 жыл бұрын
Is the lawyer part of this a reference to legal Eagle?
@LeoStaley
@LeoStaley 3 жыл бұрын
@@cneer17 it was a great meme clip beefore legaleagle did the meme review of it.
@veggiet2009
@veggiet2009 3 жыл бұрын
@@cneer17 no, though he did talk about it. A lawyer accidentally activated a cat filter, the court posted the clip separately as a cautionary tale.
@oleksijm
@oleksijm 3 жыл бұрын
Police officers in lockdown..
@murphygreen8484
@murphygreen8484 3 жыл бұрын
Was going to say this. You beat me to it
@alexpotts6520
@alexpotts6520 3 жыл бұрын
I remember playing this game as a child and for some reason, my younger brother had what he thought was an invincible strategy called "captain cautious" where he would always bank his points and pass to the next player after one throw, even if that throw had only yielded him one point. Sometimes, to emphasise the point, he would declare, "I'm captain cautious". I don't think he ever won a game...
@omikronweapon
@omikronweapon 3 жыл бұрын
somehow, I DIDNT expect that reveal. Yet it's very obvious.
@isamiwind438
@isamiwind438 2 жыл бұрын
at least he never lost a single point
@chriswebster24
@chriswebster24 2 жыл бұрын
I don’t remember playing this game as a child. Where I grew up, games were for adults. Children’s had too much work to do to be playing silly games.
@General12th
@General12th 2 жыл бұрын
@@chriswebster24 That sounds like a miserable childhood.
@declanlong4676
@declanlong4676 2 жыл бұрын
@@chriswebster24 who asked
@marcuswillbrandt5901
@marcuswillbrandt5901 3 жыл бұрын
I will not lie: If the video was just them playing the game for half an hour I would still have watched it Also I love how Brady played extremely conservative and still lost hard
@jakistam1000
@jakistam1000 3 жыл бұрын
I will not lie: If the video was just them playing the game for half an hour I definitely wouldn't watch it.
@Webfra14
@Webfra14 3 жыл бұрын
I will not lie: If the video was just them playing the game for half an hour I would watch half of it.
@mihailmilev9909
@mihailmilev9909 3 жыл бұрын
@Johan Hansén I'd have a 50% chance if watching it all or not at all
@sldl
@sldl 3 жыл бұрын
@@mihailmilev9909 I would roll a D6, and watch it that many times, unless I roll a 1, in which case I would uninstall KZbin.
@iAmCalypso33
@iAmCalypso33 3 жыл бұрын
@Johan Hansén I'd watch it on the toilet.
@TheSuperGuitarGuy
@TheSuperGuitarGuy 3 жыл бұрын
I love how the mathmatician took a second to calculate 8+6. Makes me feel better about myself
@Superbajt
@Superbajt 3 жыл бұрын
As a mathematician, I can tell you this - the more mathematics you know, the worse you get at basic math.
@kindoflame
@kindoflame 3 жыл бұрын
I can't tell you how many times while doing Calculus II homework I had to stop and think about how to add fractions.
@ShawnRoggow
@ShawnRoggow 3 жыл бұрын
Needs a Love emote
@israhm8621
@israhm8621 3 жыл бұрын
@@Superbajt What did pi say to I? Pi Said Get Real then I Replied And Said Be Rational
@merijnbras8901
@merijnbras8901 2 жыл бұрын
@@israhm8621 could you consider I to be rational though? I would not say you can possibly write it as a ratio of two whole numbers, unless you say i itself is a whole number.
@gordonwiley2006
@gordonwiley2006 3 жыл бұрын
I love that Matt Parker is Numberphile's patron saint of writing code.
@krissp8712
@krissp8712 3 жыл бұрын
Parker Square? Nah! Parker Array? Yea!
@Adhjie
@Adhjie 3 жыл бұрын
@@krissp8712 how about vector squared equal to tensor?
@sponge1234ify
@sponge1234ify 3 жыл бұрын
@@Adhjie Ah, but is it a mathematician Vector or a C Vector?
@Triantalex
@Triantalex 5 ай бұрын
??
@metalmiketh
@metalmiketh 4 ай бұрын
He loves to dust off his Python
@jays2001
@jays2001 3 жыл бұрын
Those first two columns are the same because you can't aim for a score of 1. If you hit 1 you loose and get 0. Therefore aiming for 1 is essentially the same as aiming for 2.
@vonriel1822
@vonriel1822 3 жыл бұрын
Also, there are only two results for any strategy that aims for a 1 or a 2: Either they roll a 1, or they score points. Thus, the only score it is possible to make for either aiming for 1 or 2 points is the average of any single roll, which the average of 2 through 5 multiplied by the 5/6 probability of rolling any of those values. As covered in the video, it comes out to about 3.3, and that's why both 1 and 2 not just share a value, but also why that is the specific value they share.
@kourii
@kourii 3 жыл бұрын
@@vonriel1822 the average of 2 through 6, that is
@YOM2_UB
@YOM2_UB 3 жыл бұрын
Both are just banking on the first roll, in other words.
@fartpimpson3843
@fartpimpson3843 2 жыл бұрын
I was going to comment what y'all did because I paused the video and thought about it and now I have nothing to contribute
@klijntje88
@klijntje88 2 жыл бұрын
It took me embarrassingly long to figure this out...
@robertwilbrand3441
@robertwilbrand3441 3 жыл бұрын
I think in terms of player psychology, many people would fail to realize that it only matters what number you're on, not how you got there. For example, if you got to 10 by rolling 2 five times, I think many people would bank it, because they feel they're "due for a 1", but they would keep going if they got to the same result with fewer rolls.
@HeythemMD
@HeythemMD 3 жыл бұрын
Yup, Gambler's fallacy.
@returnexitsuccess
@returnexitsuccess 3 жыл бұрын
"I dusted off my inner Matt Parker" Nah if you had been channeling Matt you would have done it in a spreadsheet
@jansalomon5749
@jansalomon5749 3 жыл бұрын
Every time I read the word spreadsheet I read it in Matt's voice
@nHans
@nHans 3 жыл бұрын
Matt has leveled up from spreadsheets. He now codes in Python.
@Superbajt
@Superbajt 3 жыл бұрын
And he should have made a mistake or have it only partly resolved.
@Sinnistral
@Sinnistral 3 жыл бұрын
"Leaning jowler" is a phrase that's etched into my memory from childhood. Loved this game!
@dielaughing73
@dielaughing73 2 жыл бұрын
Along with Makin' Bacon
@RossSavill
@RossSavill 3 жыл бұрын
Haven't seen Pass The Pigs since I played with my grandad like 25 years ago! Super nostalgia. Still remember I threw two leaning gowlers and we studied them for like 5 minutes cos we couldnt believe it.
@reaganharder1480
@reaganharder1480 3 жыл бұрын
I have the game because my grandpa was cleaning and giving away his old things, and I had fond memories of playing that game at their hous as a child, so I claimed it.
@caleblatreille8224
@caleblatreille8224 3 жыл бұрын
I used to work in schools and would play this with 5-year-olds to teach them the importance of knowing when you're ahead and calculating odds, but never thought I'd see someone calculate the ACTUAL odds!! mind is absolutely blown, my fave Numberphile video in a long while!
@MrDeepbluec
@MrDeepbluec 3 жыл бұрын
I had a further maths class that liked playing it until the day one lad was loosing 99-0 on his birthday and got to 100 in one turn to win. After that, no game was as exciting!
@TPK_MAKG
@TPK_MAKG Жыл бұрын
@@MrDeepbluec how
@danielernsberger3771
@danielernsberger3771 9 ай бұрын
@@MrDeepbluec Using the roll estimate for such a comeback, the chance of making such a comeback on a given turn in that situation would be (5/6)^25, or about 1.048%. Given the 1/6 possibility of your opponent just rolling 1 straight off and never seeing that last point, the full chance of this comeback should be about 7/6 of that figure, or 1.223%. Neither of these are quite exact values. Breaking down the entire score tree, according to the video, is computationally too strenuous for us to figure exactly right now all the way out at 100 points.
@wyboo2019
@wyboo2019 Жыл бұрын
Ben Sparks: I'm not gonna reveal too much, you can just go read the paper; it's a nice bit of digging Brady: crops and highlights the optimal strategy
@antonmiserez934
@antonmiserez934 3 жыл бұрын
Don’t mind me, I’m just putting a marker at 5:02 for future me so that I can always jump to the best bit
@lenskihe
@lenskihe 3 жыл бұрын
I love how Ben Sparks always uses GeoGebra, even when it's not practical 😂
@Sagar33002
@Sagar33002 3 жыл бұрын
GeoGebra is never not practical my friend
@nahblue
@nahblue 2 жыл бұрын
It was pretty. Also I had no clue it could do more than circles and lines :O
@yonatanbeer3475
@yonatanbeer3475 2 жыл бұрын
His refusal to learn python is admirable
@Rubrickety
@Rubrickety 3 жыл бұрын
The most surprising thing is that the full 3-D graph exactly matches the interior of the Sydney Opera House.
@TheAlps36
@TheAlps36 3 жыл бұрын
Chances of rolling 4 ones in 10 rolls: 5.4% Brady's odds: *40%* *This is why I hated probability*
@Filipnalepa
@Filipnalepa 3 жыл бұрын
In Pratchett was something along lines that if you try something with chances one i thousands it will work half of times.
@Slye_Fox
@Slye_Fox 3 жыл бұрын
@@Filipnalepa “Scientists have calculated that the chances of something so patently absurd actually existing are millions to one. But magicians have calculated that million-to-one chances crop up nine times out of ten.” - Terry Pratchett, Mort
@Filipnalepa
@Filipnalepa 3 жыл бұрын
@@Slye_Fox Thanks, that's what I was thinking about.
@angellauzara4535
@angellauzara4535 2 жыл бұрын
and statistics, do not forget to hate statistics too. I do, ever since a friend of mine got drowned in a river that had an average depth of 2 feet...
@toast99bubbles
@toast99bubbles 3 жыл бұрын
Aiming for 20 is similar to aiming for 5 rolls, when assuming an average roll of 4, so the roll and score strategies do give a similar result. As for why 1 and 2 are equal, it's because you can't end a game on 1 point, you need at least 2 points to end a game (because 1 sets you to 0). So if you will bank after at least 1 point, you'll be banking at the same time that you would when banking when you have at least 2 points, which would be every turn that isn't 1.
@Gunbudder
@Gunbudder 3 жыл бұрын
In World of Warcraft there is an item call that you can craft called Card of Omens. You can flip the card over and get a random amount of gold from 0.1 gold to 5000 gold. I did a similar expected value calculation on the expected value of any given card, and it came out to around 2.5 gold per card. This meant that it was always worth it to buy the card for less than that from another player. It was counter intuitive though because it seems like the card should be worth less if you don't flip thousands of them at a time. I probably still have a giant spreadsheet of me recording several thousand flips to manually calculate the expected value because there was no way to find the chances of getting different amounts of gold
@donaldhobson8873
@donaldhobson8873 3 жыл бұрын
Expected value in points isn't use in the game. Suppose a game where both players usually end with around 500 points. Now add an item that has a one in a million chance of giving you a billion points. This item is basically useless at helping you win. I wouldn't pay 1 point for it.
@howard5992
@howard5992 Жыл бұрын
@@donaldhobson8873 seems his card ALWAYS made a payout (just not always a large one)
@phoquenahol7245
@phoquenahol7245 7 ай бұрын
In that case, the expected value of that card is 1000, so...@@donaldhobson8873
@donaldhobson8873
@donaldhobson8873 7 ай бұрын
@@phoquenahol7245 The usefulness of a card in a game is not equal to it's "expected value" in points. (assuming your goal is to maximize the chance of winning the game) A billion points isn't worth significantly more than a thousand points if 1000 points is already enough to ensure victory.
@keiyakins
@keiyakins 5 ай бұрын
​@@donaldhobson8873 in the game in question, World of Warcraft, money isn't directly usable to win. It helps, and it also allows you to get things that you can show off to other players, but more gold is better pretty much until you have enough that the game breaks (and that's its own bragging rights... social dynamics make analysis more complicated usually but here it's the opposite.)
@qj0n
@qj0n 3 жыл бұрын
Actually, using dynamic programming, you can calculate the average result, when you aim on 20 pretty quickly. A lot of cases collapse (like 2+3 = 3+2), so running calculations on 'aim to 20' strategy would be about 6*20 operations (there are 20 different states, you can be until you get 20 and 6 ways you can go)
@AlfaEcho
@AlfaEcho 3 жыл бұрын
22:43 are the two bars at the front level because you cant score one, meaning that aiming for 1 = aiming for 2 ?
@JonathanMandrake
@JonathanMandrake 3 жыл бұрын
Exactly!
@landsgevaer
@landsgevaer 3 жыл бұрын
Yep. 👍
@rmsgrey
@rmsgrey 3 жыл бұрын
The way I would phrase it is that if you get at least 1, you also get at least 2, but it's the exact same point.
@cuaroz5808
@cuaroz5808 3 жыл бұрын
Or rather they are both the same stragegy of never rolling more than once per turn. Because if they get 2 or higher, they will always bank as they reached or exceeded their goal, if they get 1 their turn ends. So there is no difference between aiming for 1 and aiming for 2.
@BiscuitZombies
@BiscuitZombies 2 жыл бұрын
Indeed, isomorphically.
@PaulPower4
@PaulPower4 3 жыл бұрын
This is a game I've played and analysed in my job at a science centre! I did the score strat expected value calc a slightly different way, in that I phrased it as "you have a 1 in 6 chance of rolling -n", but got that same optimal score of 20 out. Fascinating to see the extended thinking around the psychology of competitive play, though.
@walterkipferl6729
@walterkipferl6729 3 жыл бұрын
I just love the videos with Ben. He seems like a super great guy, and has my kind of humor and work ethics and curiosity and he even seems like a genuine Numberphile fan!
@michaelcrosby7715
@michaelcrosby7715 3 жыл бұрын
I love that every numberphile video has a rubik's cube close by!
@AlanKey86
@AlanKey86 3 жыл бұрын
My family used to have the cow version of this (Tip the Cows) Maybe Numberphie could produce a "Bowl the Bottles" version with Klein Bottles...
@ThomasBomb45
@ThomasBomb45 3 жыл бұрын
They would have to be plastic... they can't be the glass ones lol
@gcewing
@gcewing 3 жыл бұрын
Or "Toss the Toruses" with tiny plastic coffee cups.
@toastapprentice
@toastapprentice 3 жыл бұрын
a 30 minute video featuring Ben is the perfect thing to cap off my day :) I think i've seen every single one of Ben's videos multiple times, so this'll make a fine addition to the collection
@notme123123
@notme123123 3 жыл бұрын
I haven’t watched a numberphile in some time and I’m really glad I did. Nice balance or math and practical explanations.
@Jammawtf
@Jammawtf 3 жыл бұрын
My intuition is that the cost of a roll is 1/6 of what you have accumulated, and the value of a roll is 5/6 * 4.. So you roll until you reach 20
@Alnakar
@Alnakar 3 жыл бұрын
Another way of looking at it: If you're on 20 six times, and get evenly distributed results, one of those times you'll roll a 1 and lose 20 points. The other 5 times, you'll get 2+3+4+5+6 points, for a total of 20. Rolling when you're on 20 you'd expect to net 0 points.
@ekim613
@ekim613 3 жыл бұрын
whoa, we commented really similarly. guess we have similar instincts! "instinct tells me that banking on 20 is ideally safe for the 5/6 chance of rolling 4 on average"
@taiyibureau9963
@taiyibureau9963 3 жыл бұрын
Can you still call it instinct, when you underpin it by a calculation?
@ekim613
@ekim613 3 жыл бұрын
@@taiyibureau9963 until now i thought instinct and intuition were similar, but now i see how different they can be. however, my idea was that a quick calculation is based off instinct without much thought
@taiyibureau9963
@taiyibureau9963 3 жыл бұрын
If you do that without much thought you may call it instinct I guess ;)
@user-cg4ep1hg3g
@user-cg4ep1hg3g 3 жыл бұрын
Thank you for this video. Probability theory in games is a very interesting topic for me, and I was very glad to see this one come up
@DanielHarveyDyer
@DanielHarveyDyer 3 жыл бұрын
I really enjoyed the journey in the episode from simple to complex analyses of the same problem. Its a great structure for feeling like you've learned something.
@NunoSalvaterra
@NunoSalvaterra 3 жыл бұрын
This is one of the best numberphile videos ever! Really interesting topic!
@kevinplayer2625
@kevinplayer2625 3 жыл бұрын
I think you can solve the hard problem of adding up to 20 using a Markov chain.
@Filipnalepa
@Filipnalepa 3 жыл бұрын
I'm so glad to see you picking subject of this game on the workbench. Some time ago I had a discussion with my dad about strategy in very similar game. One side argued that point based strategy is only reasonable approach, other claimed that with fair dices roll number approach should be more reliable. We didn't come to a definitive conclusion, but somehow one of strategies granted victory more often.
@RickyTeachey
@RickyTeachey Жыл бұрын
This one is so simple but is one of the best videos I've ever seen. Great job.
@VFD4u
@VFD4u 3 жыл бұрын
Great video, I think it's my favorite numberphile vid so far!
@r75shell
@r75shell 3 жыл бұрын
You can find exact expectation value using Markov chain methods. It yields system of linear equations over expectation values. For target 20 this leads to answer 492303203/60466176. Funny fact, for target score 21 answer is the same. You can notice that each equation depends only on next unknown, so it can be solved by derivations backwards, which doesn't require any fancy algorithms for solving general linear equations.
@jennasmith7766
@jennasmith7766 2 жыл бұрын
i came to the same result. but i have no idea what markov chains are. just added all possible outcomes multiplied by their probability.
@r75shell
@r75shell 2 жыл бұрын
@@jennasmith7766 Congratulations. Then you had to add 18365 cases in total, with their corresponding probabilities which doesn't depend on score but on number of turns. On the other hand, Markov chain method gives you answer within approximately 20*5 = 100 multiplications and summations.
@EMPP81
@EMPP81 2 жыл бұрын
Wonderful video, especially at the end with new surprise after new surprise. Great build-up.
@Subbestionix
@Subbestionix 6 ай бұрын
I got influenced into buying the audio book - thanks for sharing! Can't wait to hear it!
@qxtr5853
@qxtr5853 3 жыл бұрын
"A regular D6" someone was playing some very particular tabletop games!
@rosiefay7283
@rosiefay7283 3 жыл бұрын
Yes, as opposed to those irregular d6s.
@johngamble5270
@johngamble5270 3 жыл бұрын
@@rosiefay7283 Skew D6s are available for what it's worth. Easily found online.
@TomRocksMaths
@TomRocksMaths 3 жыл бұрын
I'm too young for this...
@ebrahimsonday5941
@ebrahimsonday5941 3 жыл бұрын
😂
@limbridk
@limbridk 3 жыл бұрын
One of the better Numberphile videos. And that's quite an achivement. Well done chaps!
@PushyPawn
@PushyPawn 3 жыл бұрын
I thoroughly enjoyed this episode! As well as the game links in the description.
@leumgui
@leumgui 3 жыл бұрын
this has to be my favourite video on the numberphile channel
@Perplaxus
@Perplaxus 3 жыл бұрын
Wow, those final 3D visualizations are incredible
@croctologist
@croctologist 2 жыл бұрын
This was a really really incredible video. Outstanding work
@georgesneill6801
@georgesneill6801 Жыл бұрын
Is this just another way of showing how evolution works and that our intuition is linked to perceiving probability well? When you talked through the 3D graph and mentioned the « human » strategy explaining it, it really jumped at me! A very pleasant 30min! Thanks guys 😊
@DavidHarrisonRand
@DavidHarrisonRand 3 жыл бұрын
Did they change the "Makin' Bacon" graphic? I had this game as a kid in the 80s and I remember the graphic being a little more illustrative of porcine reproduction.
@user-yr5nv2gv7m
@user-yr5nv2gv7m 3 жыл бұрын
u should see the astragali (dice) used for the original version thats been around since roman times
@Tranbarsjuice
@Tranbarsjuice 3 жыл бұрын
First time since university that I come across value iteration. Finally that reinforcement learning class pays off ;)
@emuccino
@emuccino 3 жыл бұрын
I was excited to see that too!
@joeo6378
@joeo6378 3 жыл бұрын
I love this game and have collected several versions. Played it since I was a kid - funny directions. Amazing to see it online here.
@dantrizz
@dantrizz 3 жыл бұрын
This is one of the best videos you've ever done mate
@cogmonocle2140
@cogmonocle2140 3 жыл бұрын
This game actually has me really inspired; if you have a reasonable collection of dice, there's so many interesting variations you can try -possibly a version where you roll 2d6, maybe you have the option of rolling 2d6 *or* 1d12, with whatever number of possible loss conditions
@JMcMillen
@JMcMillen 3 жыл бұрын
You could even divorce the loss condition from the die roll itself by making the loss condition a score of a certain multiple of something. For example, using 1d6 the loss condition could be your current turns total being a multiple of 6. It's still a 1:6 chance of failing out but it's not tied to any specific roll. Or, if rolling 2d6 you lose if you roll doubles. Still a 1:6 chance of failure
@remivannier9931
@remivannier9931 3 жыл бұрын
Just play "Can't stop" then. It's a 4d6 version. Very entertaining.
@JMcMillen
@JMcMillen 3 жыл бұрын
@@remivannier9931 You could also buy the game Zombie Dice where your odds are based on which dice you draw.
@KevinHorecka
@KevinHorecka 3 жыл бұрын
Check out the game Farkle. It's this with 5 dice and poker style scoring.
@willempye73
@willempye73 3 жыл бұрын
Pass the cats would be boring because cats always land on their feet.
@surajvkothari
@surajvkothari 3 жыл бұрын
Love this longer-form video. Some Numberphile videos should be long to understand the concept fully!
@jonathananonymouse7685
@jonathananonymouse7685 3 жыл бұрын
Piggin' FASCINATING! Excellent video. Thank you for introducing me to a new game!
@jeemonjose
@jeemonjose 3 жыл бұрын
I've watched endless hours of grand illusion videos, and this one i remember seeing in one of those
@trummler4100
@trummler4100 3 жыл бұрын
22:26 Well, those two bars at the beginning end to be the same because it *is* the same if you either aim for 1 or for 2 because you can't score a 1 but a _minimum_ of a 2
@grahamwilson8843
@grahamwilson8843 Жыл бұрын
Content like this reminds me why I love math so much. Bravo
@johnchessant3012
@johnchessant3012 3 жыл бұрын
Awesome! I thought most comments would be about Brady's astoundingly bad luck but the math was so interesting!
@Dirsmuutio
@Dirsmuutio 3 жыл бұрын
I bought the "pass the pug" version of this and it rules because there are pugs
@thememeestfilmbuff
@thememeestfilmbuff 3 жыл бұрын
Well statistically speaking.... *You’ll survive 50% longer if no one wants bacon.*
@lucifersatan4611
@lucifersatan4611 3 жыл бұрын
I want bacon.
@applesauce90210
@applesauce90210 3 жыл бұрын
I just taught my statistics class about expected value and I’m so excited to show them this video
@HugoZupan
@HugoZupan Жыл бұрын
This was so pleasing! Great explanation
@BedrockBlocker
@BedrockBlocker 2 жыл бұрын
Ben Sparks is too cool. You can really feel the math energy he radiates :)
@nivolord
@nivolord 3 жыл бұрын
If the goal is to get to 100 points on your own as quickly as possible, wouldn't it be better to aim for 19 instead? If you aim for 20, you'll get a bit on top most of the times. Aiming for 19 will probably still give you at least 20 on average if you don't bust, but it will be safer than 20. I'll write a quick code to test it. Edit: Here are the coding results. - Going for 20 each throw (or 100-current_score, whatever is lower), I got 12.626922 turns on average over a million games. - Going for 19 each throw (or 100-current_score) is 12.634359 turns, which is a little worse. Apparently, too many games don't have enough points after banking 5 games. - My third try was to go for 19, but after four banks, always go for 100-current_score to go for the home stretch (for instance, if you only got 4*19 = 75, you'd go for the full 25). This gives us 12.557203 on average. A slight improvement. -There might be some more interesting tactics. Like, once you got one 19, bank it, but then go for 20s up to that point. This gives: 12.568827
@YouLoveBeef
@YouLoveBeef 3 жыл бұрын
Thank you nice work. This was the factor I was missing from the video.
@rogeraldrich2533
@rogeraldrich2533 3 жыл бұрын
I was pondering similar strategies, like you said the goal isn't the highest average it is the first past 100. Does it make sense to go for 25? That's the first number where you are guaranteed to make it in four successful rolls. If you stop at 20 you can only succeed in four rolls by getting a six after landing on nineteen four times in a row. What's the lowest number between 20 and 25 gives you a better than average chance of making it in four successful rolls? It seems the game is weighted toward the stop at 20 strategy since that is the first number guaranteeing a five roll victory and also has the highest average return but what if we played to 125? Does shooting for something a little higher make a difference then? I also wondered about the advantage of going first, you could stop at something as low as 14 and still be likely to win shooting for 20's after that. How many points should we spot player two to make it fair? My instinct says five-ish but I can't prove it. Lastly, what if you have more players? How do you account for the extra competition? If you have an infinite number of players the only way to win would be to go for broke because somebody would inevitably do it before your second turn. Three players is a subtler problem then I can intuit. This has been the best Numberphile for me in ages, I had plenty of new questions after the ones in the video were solved. I was preoccupied for my whole dog walk after watching this.
@srelma
@srelma 3 жыл бұрын
Awesome video on a very simple topic. Thank you so much
@matteobecchi1210
@matteobecchi1210 3 жыл бұрын
This is really amazing and well explained! Starting from such an apparently silly game. Thanks!
@marklonergan3898
@marklonergan3898 3 жыл бұрын
You mentioned the value wouldn't be intuitive, but 20 was exactly what i was thinking based on the risk:reward ratio. When you are on 20 points, you have a 5/6 chance to get an average of 4 points and a 1/6 chance to get -20 points which balance to 0 making it the swing-number. You said n
@hamiltonianpathondodecahed5236
@hamiltonianpathondodecahed5236 3 жыл бұрын
btw we need that score-card on a tshirt
@Kirmo13
@Kirmo13 8 ай бұрын
What fascinates me is that I probably will never ever play this game for a cumulative time of 30 minutes, yet I just watched this entire video and crave to know more about the paper
@alphabeets
@alphabeets 2 жыл бұрын
This guy is great. Wonderful and interesting series. Thanks.
@ziquaftynny9285
@ziquaftynny9285 3 жыл бұрын
Interesting for the simple game my intuition told me that 2 or 3 was the best number of rolls. 5 was surprising
@gz6616
@gz6616 3 жыл бұрын
I was about to suggest that we should set up a competition where people submit their programs, then at the end of the video there comes the "winner".
@travispetit2410
@travispetit2410 3 жыл бұрын
This episode was amazing!
@p11111
@p11111 3 жыл бұрын
Blackjack, a seemingly more complex game, has an optimal strategy that fits on a playing card. This game has a complex 3D graph with multiple colors and overhangs!
@johngamble5270
@johngamble5270 3 жыл бұрын
I've seen these types of games called "push your luck" type games. Most recently with (yes, its real title) The Quacks of Quedlinberg, which is more complex because of its drawing system.
@hindigente
@hindigente 3 жыл бұрын
Interesting episode. I wonder if that 3D chart would become less jagged if we were to increase both the number of die sides and the total score. Or if its jaggedness is not an artefact of the discrete nature of the data, but something intrinsic to this type of problem.
@JesseFeld
@JesseFeld 3 жыл бұрын
You can really see Brady's competitive side coming out here!
@daddymuggle
@daddymuggle 3 жыл бұрын
This is great! .... Not at all what I expected from the title. In fact I've been avoiding watching this all week because I thought it would be horribly depressing. What a pleasant surprise it turns out to be.
@socalacura1338
@socalacura1338 3 жыл бұрын
Oh my gosh I never considered actually trying to calculate the probabilities of this game I've had for over a decade! Really brings back childhood memories
@bigpump2620
@bigpump2620 Жыл бұрын
If Russell crow was a sweet friendly guy.
@jeffsweeney312
@jeffsweeney312 3 жыл бұрын
If I choose the optimized strategy it doesn't mean I will win most of the time. If my opponent also chooses that strategy then I will win on average half the time. The game could be replaced by a single coin toss. So, don't bet the farm on one game.
@sgttomas
@sgttomas 3 жыл бұрын
The small number of hands actually changes the strategy. I would opt for 10 because the slope of the expectation curve diminishes exponentially while the increases linearly. In a small number of hands you might never see 20 pan out but 10 would produce results closer to the expected value more often.
@chair547
@chair547 Жыл бұрын
One thing (this comes from Farkle) that can make any game like this interesting is if you allow all the players one "catch up" round to beat the winners. This creates extra tension and decision making for two reasons. If the threshold is 100 and you're at 101, in the normal game you win. In the "catch up" variation you're incentivised to keep going to augment your lead. Also if you bank at say 115 points, then the other player now gets one intense turn of trying to catch up with you at all costs.
@TampaCEO
@TampaCEO 2 жыл бұрын
29:24 - "I love that all that psychology which we have an intuitive feel, we have the math to back it up." Such a perfect summation of the findings.
@Wolforce
@Wolforce 3 жыл бұрын
Omg i have this game =O for a long time too. Its in french and i never knew anyone who knew it or had it.
@kitrit8445
@kitrit8445 Жыл бұрын
What if in the case of throwing “1” the current score was not lost, but added to the total score of your opponent….
@marcusmelander8055
@marcusmelander8055 Жыл бұрын
I think for the version where you're ignoring the current score of both players, you can treat that mathematically as subtracting it from your score, or losing points. In that case I believe the optimum score to aim for is 10, ignoring the stuff about getting to 100 points and whatnot.
@tedelaney2009
@tedelaney2009 3 жыл бұрын
Fascinating - well done!
@brandonmtrujillo
@brandonmtrujillo 2 жыл бұрын
Really captivating. Very well presented.
@keithwallace5277
@keithwallace5277 3 жыл бұрын
i love this i need a 3d model of this graph!!
@thehemperor3967
@thehemperor3967 2 жыл бұрын
you found any? Cant find it anywhere
@canadianguy1578
@canadianguy1578 3 жыл бұрын
Great video on a great game! But what if you change the rules of the game so that the losing condition is rolling the same number twice in a row, instead of rolling a 1? It would guarantee a score greater than 0 at one roll, but would the optimal strategy change otherwise?
@nate-wilkins
@nate-wilkins Жыл бұрын
I loved this video. Great job!
@avery31415
@avery31415 7 ай бұрын
I played the original game with the die in primary school a couple of times in maths. We'd play it with the whole class, everyone would stand up at the start and then the teacher would roll the die and we'd write down numbers until we decided to sit down. We'd then keep our score. If the teacher rolled a 1 everyone standing up would be out and everyone else would add up their scores and whoever had the highest would win. It was a lot of fun.
@ninenine5804
@ninenine5804 3 жыл бұрын
This episode is not kosher
@Tweakimp
@Tweakimp 3 жыл бұрын
Couldnt you also compare strategies by calculating the probability of winning with optimal play vs someone who always stops at 20 or after 3 rolls? That would be interesting :)
@crazy4hitman755
@crazy4hitman755 3 жыл бұрын
I programmed it for 10 million rolls and the guy who stops at 20 won 89708 times (~65%), while the guy who stop after 3 rolls won 48071 times (~35%)
@gehrehmee
@gehrehmee 2 жыл бұрын
In university I took an artificial intelligence course, and one of the projects was to write a robot to play in a rock paper scissors competition. You can play randomly of course, but if you assume that some of the other players are playing with a non-random strategy then the best strategy is to come up with a non-random strategy that counters theirs. Suffice to say this gets a lot more complicated a lot faster. 😂
@stigcc
@stigcc 5 ай бұрын
@@crazy4hitman755Maybe one could have a strategy competition. All contestants submitted a function that took three arguments (the two scores and the turn sum) and returned HOLD or GO
@nalidhardstyle8551
@nalidhardstyle8551 2 жыл бұрын
The strategy I came up with at the start if the video (for playing against another player) is take any chance you get (aka them rolling a 1) to get to 20 more than them. At that point, they will have to make more and more risky moves to catch up to you, so will get more 1s. When that happens roll a twice. You'll slightly increase your lead, by about 6, meaning they will have to risk more, and it cycles
@owenphillips6421
@owenphillips6421 3 жыл бұрын
Great video! I always play this with my parents when we go camping.
@Rubrickety
@Rubrickety 3 жыл бұрын
I feel sorry for Ben’s inner Matt Parker; he must be very uncomfortable hunched over in there.
@alexanderrowe1042
@alexanderrowe1042 3 жыл бұрын
As a competitive person I'm vicariously titled through Brady's rolls. Cmon one more roll you can't quit with zero points!
@adityakhanna113
@adityakhanna113 3 жыл бұрын
Just to point out, SageMath has an inbuilt Partitions(n) function which returns the list of partitions of a natural number n. One can iterate over this list and for each instance check the max and least value. Put them in a list and find the length of that list. For anyone who might wanna try to do it quicker
Darts in Higher Dimensions (with 3blue1brown) - Numberphile
32:11
Numberphile
Рет қаралды 1,9 МЛН
Divisibility Tricks - Numberphile
27:31
Numberphile
Рет қаралды 897 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 11 МЛН
Barriga de grávida aconchegante? 🤔💡
00:10
Polar em português
Рет қаралды 40 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 20 МЛН
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Рет қаралды 30 МЛН
How does Dobble (Spot It) work?
28:37
Stand-up Maths
Рет қаралды 1 МЛН
The Beautiful Math of Snakes and Ladders - Numberphile
21:46
Numberphile
Рет қаралды 203 М.
Gambling with the Martingale Strategy - Numberphile
19:11
Numberphile
Рет қаралды 1 МЛН
We designed special dice using math, but there’s a catch
18:02
A Problem with Rectangles - Numberphile
17:12
Numberphile
Рет қаралды 467 М.
The Game of Risk - Numberphile
10:32
Numberphile
Рет қаралды 907 М.
The Light Switch Problem - Numberphile
18:31
Numberphile
Рет қаралды 568 М.
The Goat Problem - Numberphile
16:52
Numberphile
Рет қаралды 799 М.
Hidden Dice Faces - Numberphile
10:26
Numberphile
Рет қаралды 177 М.
Why it’s mathematically impossible to share fair
42:08
Stand-up Maths
Рет қаралды 1,8 МЛН
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 8 МЛН
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 46 М.