• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:25
CEST 22:25
KST 05:25
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ ASL20 General Discussion Pros React To: SoulKey's 5-Peat Challenge
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Path of Exile General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread Canadian Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1230 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
OSC
19:00
Mid Season Playoffs
Gerald vs ArTLIVE!
Solar vs goblin
Nicoract vs TBD
Spirit vs Percival
Cham vs TBD
ByuN vs Jumy
SteadfastSC1129
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 1129
UpATreeSC 138
ZombieGrub94
JuggernautJason70
Lillekanin 11
StarCraft: Brood War
Britney 20199
Calm 1930
Rain 1537
Shuttle 499
Dewaltoss 89
ggaemo 32
Hm[arnc] 6
Dota 2
Dendi1423
Pyrionflax226
NeuroSwarm97
Counter-Strike
apEX2367
fl0m1140
Stewie2K431
Heroes of the Storm
Liquid`Hasu527
Other Games
Grubby3761
FrodaN1674
Beastyqt511
summit1g368
ToD190
Hui .186
C9.Mang0131
ArmadaUGS114
Trikslyr54
Kaelaris6
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Hupsaiya 48
• davetesta9
• Reevou 3
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• FirePhoenix16
• Pr0nogo 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21884
Other Games
• Scarra798
• imaqtpie798
• WagamamaTV270
• Shiphtur176
Upcoming Events
RSL Revival
13h 35m
Maru vs Reynor
Cure vs TriGGeR
Map Test Tournament
14h 35m
The PondCast
16h 35m
RSL Revival
1d 13h
Zoun vs Classic
Korean StarCraft League
2 days
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
Online Event
3 days
[ Show More ]
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
LiuLi Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries 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.