• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:14
CEST 21:14
KST 04:14
  • 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
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
Mihu vs Korea Players Statistics BGH auto balance -> http://bghmmr.eu/ BW General Discussion [BSL20] ProLeague: Bracket Stage & Dates Will foreigners ever be able to challenge Koreans?
Tourneys
[ASL19] Grand Finals NA Team League 6/8/2025 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread What do you want from future RTS games? Path of Exile Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 22050 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
BSL: ProLeague
18:00
Bracket Stage: Day 2
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
ZZZero.O283
Liquipedia
Fire Grow Cup
15:00
#10 - Playoffs
CranKy Ducklings298
MindelVK74
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 490
IndyStarCraft 174
BRAT_OK 123
ROOTCatZ 97
MindelVK 74
EnDerr 4
StarCraft: Brood War
Calm 3238
Rain 1974
Horang2 731
ZZZero.O 283
firebathero 226
Aegong 68
PianO 38
Terrorterran 21
Dota 2
boxi98412
League of Legends
Dendi1695
JimRising 478
Counter-Strike
fl0m6462
olofmeister2687
Super Smash Bros
C9.Mang05009
Chillindude32
Heroes of the Storm
Liquid`Hasu468
Khaldor224
Other Games
tarik_tv54596
FrodaN1856
B2W.Neo985
Pyrionflax354
ArmadaUGS120
ViBE7
Organizations
Dota 2
PGL Dota 2 - Secondary Stream7748
Other Games
gamesdonequick760
BasetradeTV132
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• HeavenSC 48
• Adnapsc2 32
• Dystopia_ 3
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• HerbMon 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21296
• Ler125
Other Games
• imaqtpie1170
• Shiphtur304
Upcoming Events
Replay Cast
1d 4h
Replay Cast
1d 14h
WardiTV Invitational
1d 15h
WardiTV Invitational
1d 15h
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Online Event
3 days
Replay Cast
3 days
GSL Code S
3 days
herO vs Zoun
Classic vs Bunny
The PondCast
3 days
Replay Cast
4 days
[ Show More ]
WardiTV Invitational
4 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
WardiTV Invitational
5 days
Cheesadelphia
5 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-06-05
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
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.