• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:20
CEST 21:20
KST 04:20
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL56Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap The GOAT ranking of GOAT rankings
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL Replays question BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 588 users

A Game of Dice

Blogs > Sholip
Post a Reply
Sholip
Profile Blog Joined March 2014
Hungary422 Posts
July 23 2016 16:55 GMT
#1
So this is my first blogpost, ever. I actually never intended to write a blog, but sometimes I just have interesting (to me, at least) ideas and recently I thought, why not just write it in a blogpost. So here it is. Hope at least some of you will find it interesting.

So I’m not sure if that makes me a strange person, but I tend to like to analyze things I find interesting (you may have noticed this already). I like to find solutions, optima to problems that challenge me. The instrument for this is usually math, and when it fails or cannot be applied, coding (this is the real challenge, as I know just enough programming to make very simple codes work). Sometimes I just think, “I could totally write a program for this problem,” and sometimes I do, but more often than not I just start it, and at some point I realize it would be too tedious either mathematically or technically to go further, and I leave it altogether.

A few weeks ago I went on holiday with my friends, and among others we played a game that is most commonly known as Liar’s Dice. We play this game from time to time and I have to say it’s pretty funny, calling each other liars and all that. (Tip: put on some epic music in the background and time your “Liar!” calls with a particularly epic part for maximum fun ) On a side note, I totally won all the games, with a good amount of luck, but also maybe solid play (hehe). After coming home, I started to wonder about strategies to play the game and how they could be optimized. The game itself is simple enough for some very basic probability theory to do the work, I thought.

Rules of the game: there are several variants of Liar’s Dice, the one I usually play plays like this:
The players are sitting around a table, each of them has 5 dice. The dice are rolled, and the starting player calls a face value (2 to 6) and a number he thinks there are of said face value among all the dice on the table. Ones are always wild, counting as the face value called. The next player has 3 options:

Bid higher: make a call by increasing the face value while leaving the count unchanged, or increasing the count and naming a face value of their choice (except 1).
Call lie: doubting the previous statement, saying that there aren’t as many of the called face values as stated. If there are indeed fewer than what the previous player called, he loses a die; if there are at least as many as called, the doubting player loses a die. The player who lost a die proceeds to make a new call. If they don’t have any left, they are eliminated, and the next player calls.
Call truth: stating that there are exactly as many dice as called previously. If there are indeed as many as in the call, the player who made the true call loses a die; if there are fewer or more than in the call, the player calling truth loses a die. The player who lost a die proceeds to make a new call. If they don’t have any left, they are eliminated, and the next player calls. The option to call truth stabilizes the game, as in low-dice situations it could otherwise happen that both a lie and a higher bid is pretty unlikely.

The game goes on until only one player has dice left – that player wins the game.

So that’s where coding comes in. I was thinking about writing a program where you can observe AIs playing each other (and also play against them possibly), and see how they do. The end goal of the project is to create an AI that plays the game reliably well, and to compare how different AIs fare against one another.

The fun part is figuring out how the AIs should work. An AI is able to exactly know the probabilities of different calls in all situations, but what it does then with these values is not trivial at all. That’s what I’ll be trying to figure out.

I would be really happy if you could also contribute with your ideas, hopefully even posting you AI ideas. It does not have to be very complicated or technical, just general ideas, for example “Always call the most likely bid, and never call lie,” or “Call a lie if it’s probability is at least 30%, otherwise bid the most likely one”. If enough AI suggestions come in, I can run a mini-tournament, simulating games between them, and determine which one does the best in the long run.

Cheers,
Sholip

*****
"A hero is no braver than an ordinary man, but he is brave five minutes longer. Also, Zest is best." – Ralph Waldo Emerson
Caissa
Profile Blog Joined April 2012
United States48 Posts
July 23 2016 23:24 GMT
#2
I absolutely love Liar's Dice! One of my favorite games.

My friend was in a Stanford computer science course that actually made them write a program to compete in a tournament with other students. I think most programs solely using probability really struggled against one team that programmed theirs to bluff in the first round, but at a low enough number that it was still probable.

I don't really have any experience, but here is a link to the assignment paper if you're interested:
+ Show Spoiler +
web.stanford.edu
Don't underestimate the value of Doing Nothing, of just going along, listening to all the things you can't hear, and not bothering.
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
July 24 2016 13:34 GMT
#3
This is the most popular drinking game in China. The main difference is that instead of losing a die, you have to drink.
And there is no "call truth".
Because you can do numbers from 1 to 9 with one hand in Chinese, you don't even need to speak/hear you just play with hands. It's likely the reason why it's so popular in clubs where the music volume is deafening.

ॐ
fifa1234
Profile Joined July 2016
3 Posts
July 27 2016 07:47 GMT
#4
--- Nuked ---
Please log in or register to reply.
Live Events Refresh
FEL
16:00
Cracov 2025: Qualifier #1
RotterdaM856
IndyStarCraft 271
CranKy Ducklings194
Liquipedia
PSISTORM Gaming Misc
15:55
FSL team league: ASP vs PTB
Freeedom8
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 856
IndyStarCraft 271
JuggernautJason88
ProTech64
StarCraft: Brood War
Calm 4543
firebathero 306
JulyZerg 135
BRAT_OK 104
Rock 41
LancerX 15
Stormgate
Nathanias52
Dota 2
monkeys_forever201
LuMiX1
League of Legends
Grubby2589
Dendi1359
Counter-Strike
fl0m1973
Super Smash Bros
Westballz42
Heroes of the Storm
Khaldor327
Liquid`Hasu310
Other Games
FrodaN1400
Mlord591
KnowMe135
Trikslyr49
Sick44
Organizations
Other Games
EGCTV1407
StarCraft 2
angryscii 18
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 23 non-featured ]
StarCraft 2
• Berry_CruncH81
• printf 52
• tFFMrPink 25
• iHatsuTV 10
• OhrlRock 4
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Pr0nogo 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2916
• WagamamaTV670
• Ler102
League of Legends
• Jankos1845
• Doublelift1692
Other Games
• imaqtpie949
• Shiphtur469
Upcoming Events
RSL Revival
14h 40m
Clem vs Classic
SHIN vs Cure
FEL
16h 40m
WardiTV European League
16h 40m
BSL: ProLeague
22h 40m
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.