• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:36
CEST 03:36
KST 10:36
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris31Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
#2: Serral - Greatest Players of All Time #1: Maru - Greatest Players of All Time I hope balance council is prepping final balance Geoff 'iNcontroL' Robinson has passed away Aligulac - Europe takes the podium
Tourneys
Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game—$20k event w/ live finals in Paris WardiTV Mondays RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
BSL Polish World Championship 2025 20-21 September BGH Auto Balance -> http://bghmmr.eu/ ASL Season 20 Ro24 Groups Flash On His 2010 "God" Form, Mind Games, vs JD No Rain in ASL20?
Tourneys
[Megathread] Daily Proleagues [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group F [ASL20] Ro24 Group D
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile
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
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1222 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
Replay Cast
00:00
SEL S2 Championship: Ro16
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft188
SpeCial 137
ProTech79
RuFF_SC2 41
Nina 39
StarCraft: Brood War
Artosis 735
Sharp 48
Icarus 3
Beast 2
Dota 2
monkeys_forever946
League of Legends
JimRising 302
Counter-Strike
Stewie2K771
taco 190
Super Smash Bros
hungrybox506
Mew2King20
Other Games
tarik_tv13368
summit1g8554
Day[9].tv841
shahzam631
C9.Mang0319
ViBE213
Maynarde123
ROOTCatZ0
Organizations
StarCraft 2
CranKy Ducklings133
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• OhrlRock 1
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki2
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift4336
• Stunt267
Other Games
• Day9tv841
Upcoming Events
The PondCast
8h 24m
WardiTV Summer Champion…
9h 24m
herO vs MaxPax
Clem vs Classic
Replay Cast
22h 24m
LiuLi Cup
1d 9h
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
Cosmonarchy
1d 14h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
1d 14h
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
1d 17h
Team Hawk vs Team Dewalt
BSL Team Wars
1d 17h
Team Hawk vs Team Bonyth
SC Evo League
2 days
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
2 days
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[ Show More ]
[BSL 2025] Weekly
2 days
SC Evo League
3 days
Maestros of the Game
3 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
3 days
Team Bonyth vs Team Sziky
BSL Team Wars
3 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
4 days
Replay Cast
4 days
Sparkling Tuna Cup
5 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
WardiTV Summer 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
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.