[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-682817-105":59,"doc-detail-682817-en":130,"doc-similar-682817":157},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","optimal-play-of-the-dice-game-pig-25","Optimal Play of the Dice Game Pig 25","","Optimal play analysis for the dice game Pig frames each turn as a choice to roll again or hold, with rolling a 1 ending the scoring and passing control. The work contrasts simple heuristics—such as “hold at 20”—with the fact that maximizing expected score in a turn differs from maximizing the probability of winning overall. It defines winning probabilities by game state (scores and current turn total), derives recursive equations for optimal decisions, and explains the nontrivial cyclic dependencies in solving for the optimal policy.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/optimal-play-of-the-dice-game-pig-25/682817/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/optimal-play-of-the-dice-game-pig-25/682817.png","ImageObject",300,407,{"name":92,"@type":93},"sagouaw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-09","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How is a turn in the dice game Pig decided?","Question",{"text":112,"@type":113},"Each turn consists of repeatedly rolling a die. After each roll the player chooses either to roll again or hold; rolling a 1 scores nothing and gives the opponent the turn, while holding adds the turn total to the player’s score.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why is “hold at 20” not always optimal?",{"text":117,"@type":113},"“Hold at 20” is motivated by maximizing expected points in a local sense, but winning depends on the overall probability of taking the lead. The document explains that risking points is not the same as risking the probability of winning.",{"name":119,"@type":110,"acceptedAnswer":120},"How is the optimal policy determined mathematically?",{"text":121,"@type":113},"The analysis introduces Pi,j,k as the probability of winning given the player’s score i, the opponent’s score j, and the turn total k. Optimal play chooses between rolling and holding by comparing the resulting winning probabilities, but solving requires handling cyclic dependencies among game states.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},682817,1793982117,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":26,"preview_page_count":81,"preview_urls":144},3985747862151,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Optimal Play of the Dice Game Pig 25  \nOptimal Play of the Dice Game Pig  \nTodd W. Neller  \nClifton G.M. Presser Department of Computer Science 300 N. Washington St.  \nCampus Box 402 Gettysburg College Gettysburg, PA 17325–1486 [tneller@gettysburg.edu](tneller@gettysburg.edu)  \nIntroduction to Pig  \nThe object of the jeopardy dice game Pig is tobe the ﬁrst player to reach 100 points. Each player’s turn consists of repeatedly rolling a die. After each roll, the player is faced with two choices: roll again, or hold (decline to roll again) .  \n• If the player rolls a 1, the player scores nothing and it becomes the opponent’s turn.  \n• If the player rolls a number other than 1, the number is added to the player’s turn total and the player’s turn continues.  \n• If the player holds, the turn total, the sum of the rolls during the turn, is added to the player’s score, and it becomes the opponent’s turn.  \nFor such a simple dice game, one might expect a simple optimal strategy, such as in Blackjack (e.g.,“stand on 17” under certain circumstances, etc.) . As we shall see, this simple dice game yields a much more complex and intriguing optimal policy, described here for the ﬁrst time. The reader should be familiar with basic concepts and notation of probability and linear algebra.  \nSimple Tactics  \nThe game of Pig is simple to describe, but is it simple to play well? More speciﬁcally, how can we play the game optimally? Knizia [1999] describes simple tactics where each roll is viewed as a bet that a 1 will not be rolled:  \nThe UMAP Journal 25 (1) (2004) 25–47 . 􀀁c Copyright 2004 by COMAP, Inc. All rights reserved. Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for proﬁt or commercial advantage and that copies bear this notice. Abstracting with credit is permitted, but copyrights for components of this work owned by others than COMAP must be honored. To copy otherwise, to republish, to post on servers, or to redistribute to lists requires prior permission from COMAP.  \n26 The UMAP Journal 25.1 (2004)  \n... we know that the true odds of such a bet are 1 to 5 . If you ask yourself how much you should risk, you need to know how much thereis to gain. A successful throw produces one of the numbers 2, 3, 4, 5, and  \n6. On average, you will gain four points. If you put 20 points at stake this brings the odds to 4 to 20, that is 1 to 5, and makes a fair game. ... Whenever your accumulated points are less than 20, you should continue throwing, because the odds are in your favor.  \nKnizia [1999, 129]  \nHowever, Knizia also notes that there are many circumstances in which one should deviate from this “hold at 20” policy. Why does this reasoning not dictate an optimal policy for all play? The reason is that  \nrisking points is not the same as risking the probability of winning.  \nPut another way, playing to maximize expected score for a single turn is different from playing to win. For a clear illustration, consider the following extreme example. Your opponent has a score of 99 and will likely win in the next turn. You have a score of 78 and a turn total of 20 . Do you follow the “hold at 20”policy and end your turn with a score of 98? Why not? Because the probability of winning if you roll once more is higher than the probability of winning if the other player is allowed to roll.  \nThe “hold at 20” policy may be a good rule of thumb, but how good is it? Under what circumstances should we deviate from it and by how much?  \nMaximizing the Probability of Winning  \nLet Pi,j,k be the player ’s probability of winning if the player ’s score is i, the opponent’s score is j, and the player ’s turn total is k. In the case where i + k ≥ 100, we have Pi,j,k = 1 because the player can simply hold and win. In the general case where 0 ≤ i, j \u003C 100 and k \u003C 100 − i, the probability of a player who plays optimally (an optimal player) winning ","cbCaipKtwKfk4b5O","https://ap.wps.com/l/cbCaipKtwKfk4b5O","pdf",13178593,24,"English","# Introduction to Pig\n# Simple Tactics\n# Maximizing the Probability of Winning\n# Optimal Play of the Dice Game Pig","[{\"question\":\"How is a turn in the dice game Pig decided?\",\"answer\":\"Each turn consists of repeatedly rolling a die. After each roll the player chooses either to roll again or hold; rolling a 1 scores nothing and gives the opponent the turn, while holding adds the turn total to the player’s score.\"},{\"question\":\"Why is “hold at 20” not always optimal?\",\"answer\":\"“Hold at 20” is motivated by maximizing expected points in a local sense, but winning depends on the overall probability of taking the lead. The document explains that risking points is not the same as risking the probability of winning.\"},{\"question\":\"How is the optimal policy determined mathematically?\",\"answer\":\"The analysis introduces Pi,j,k as the probability of winning given the player’s score i, the opponent’s score j, and the turn total k. Optimal play chooses between rolling and holding by comparing the resulting winning probabilities, but solving requires handling cyclic dependencies among game states.\"}]","Optimal Play of the Dice Game Pig 25 | PDF",[145,149,153],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/d3b8a2496148b5080ee01e01d415e38b.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/d04a01c610f78d6d3dcb69b4acdb19ac.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/1c5759e125cbcf787282f9171cb4b0f2.webp",981,1269,{"list":158,"token":66},[159,165,172,179,186,193,199,205,212,219],{"doc_id":160,"doc_title":161,"file_type":137,"home_preview_img_url":162,"slug":163,"view_count":34,"category_name":40,"create_tm":164},329986,"An optimized postsurgery follow-up strategy for patients with esophageal cancer - a cohort study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909163385/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=UT6K9BctiQljnGpeErTstUdMEIE%3D","an-optimized-postsurgery-follow-up-strategy-for-patients-with-esophageal-cancer-a-cohort-study",1789986448,{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},134357,"A Theoretical Study of Mafia Games - Quantitative Analysis of Winning Probability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229861018347/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=h%2FXoywj1yJGZ%2F8J1Q0Re5RUO7Do%3D","a-theoretical-study-of-mafia-games-quantitative-analysis-of-winning-probability",31,1787250867,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},82752,"New bounds on randomized metric distortion of top-k voting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808785708/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=i7D33Ed9LbCGB8CATBA4Z23OX7w%3D","new-bounds-on-randomized-metric-distortion-of-top-k-voting",25,1784182693,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},83856,"Orcaella Hybrid Fault Tolerance with Client-Selectable Finality Latency","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809107838/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=bHjsVcPpDjyRMTxT23Ll9rQ2ZPU%3D","orcaella-hybrid-fault-tolerance-with-client-selectable-finality-latency",29,1784191001,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":40,"create_tm":192},514093,"Determinism versus Stochasticity in the Action Economy of Turn-Based Tactics Games - Master’s Thesis 2022","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229937241682/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=zmJioI1pSpLb9he2BvqJcAfh6tI%3D","determinism-versus-stochasticity-in-the-action-economy-of-turn-based-tactics-games-masters-thesis-2022",14,1791296223,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":34,"category_name":40,"create_tm":198},648575,"Oblique View Frustum - Depth Projection and Clipping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972127416/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=%2FvTso%2Bq%2B%2F4SGVILpQ8Gp0djhNUs%3D","oblique-view-frustum-depth-projection-and-clipping",1792794075,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":44,"category_name":40,"create_tm":204},506831,"Heuristics to Support the Evaluation of Optimal Experience in Educational Games for Learning Japanese as a Second Language","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229933678673/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=Jv5gyVzAoMsFAvw6CMeiOjl4MNA%3D","heuristics-to-support-the-evaluation-of-optimal-experience-in-educational-games-for-learning-japanese-as-a-second-language",1791169527,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},228084,"Repeated Interaction in Standard Setting - Research Discussion Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229891723963/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=7yrY1XXQn3lUz7VxpmyriomfUYA%3D","repeated-interaction-in-standard-setting-research-discussion-paper",11,1789020133,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},156004,"Hardness of Maximum Likelihood Learning ofDPPs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869814629/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=4tmPYOC4Yq%2Be5NYG3uAH5bKS5jw%3D","hardness-of-maximum-likelihood-learning-ofdpps",15,1787942585,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":40,"create_tm":225},85384,"Solving the General Case of Rank-3 Maker-Breaker Games in Polynomial Time","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809263757/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796225819&Signature=1WQKCx90jMWCebPgDRl2inPtv5A%3D","solving-the-general-case-of-rank-3-maker-breaker-games-in-polynomial-time",27,1784203049]