Skip to content
beegusPublic

About

CeeLo brings the classic three-dice street game to World of Warcraft with a duel-style challenge flow and cryptographic fairness. Challenge another player, accept or decline, then watch a short countdown and deterministic, cheat‑proof dice resolution. Ties go to sudden‑death tiebreakers until a winner is decided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CeeLo Dice Addon

A World of Warcraft addon that lets you challenge other players to a game of Cee-lo dice — works just like the duel system!

What is Cee-lo?

Cee-lo (also known as See-Low, Four-Five-Six, or Chinchirorin) is a popular dice game played with three dice. Each player rolls and the best hand wins!

Hand Rankings (Best to Worst)

Rank Hand Description
1 4-5-6 Automatic win!
2 Triple 6s Three sixes
3 Triple 5s Three fives
... ... ...
8 Triple 1s Three ones
9 Point 6 A pair + 6 as the "point"
10 Point 5 A pair + 5 as the "point"
... ... ...
15 Point 1 A pair + 1 as the "point"
16 Nothing No valid combination
17 1-2-3 Automatic loss!

Features

  • 🎲 Duel-like Challenge System — Challenge any player, they can accept or decline
  • 👥 Group Tables — Play with your whole party or raid using real server /rolls; players without the addon can join too
  • 🎆 Hype Moments — Dice drawn with pips, and a big on-screen celebration for every 4-5-6
  • 🔒 Cheat-Proof — Uses commit-reveal cryptography so neither player can cheat
  • 🎨 Clean UI — Popup challenges, countdown timer, animated dice rolls, and result display
  • � Tiebreaker Rounds — Ties go to sudden death tiebreaker rounds until there's a winner
  • 📢 Emote Broadcasts — Challenges, rolls, and outcomes are announced via /e emotes
  • 📊 Statistics — Track your wins and losses
  • 📜 Match History — Review your recent games
  • ⚙️ Configurable — Multiple rule variants and sound options

Installation

Works on Midnight (retail) and WoW Forever.

  1. Download the addon
  2. Extract it into your client's AddOns folder, e.g. World of Warcraft/_retail_/Interface/AddOns/CeeLo/ for Midnight, or the Interface/AddOns folder inside your WoW Forever client's folder
  3. Restart WoW (a brand-new addon folder usually isn't picked up by /reload)

Commands

Command Description
/ceelo or /cl Challenge your current target
/ceelo challenge <name> Challenge a player by name
/ceelo accept Accept a pending challenge
/ceelo decline Decline a pending challenge
/ceelo cancel Cancel your sent challenge (or close a table you're hosting)
/ceelo host Open a table for your party or raid
/ceelo roll Roll your dice at an open table
/ceelo table Show the table window again
/ceelo stats Show your win/loss record
/ceelo rules Display Cee-lo rules
/ceelo options Open settings panel
/ceelo history Show recent matches

Tip: Just target a player and type /ceelo to challenge them!

Group Tables

Play Cee-lo with everyone in your party or raid (2-10 players):

  1. Someone runs /ceelo host. A table opens for the whole group with the host already seated, and the host posts the rules in party chat
  2. Everyone else who wants in clicks Roll! (or types /ceelo roll) within 45 seconds, with a reminder at 15 seconds left. Players without the addon can join by typing /roll 6 three times. The host can click Start now once everyone's in
  3. Each set of three rolls is your hand. Rolled "nothing"? Roll again; the addon does it for you automatically
  4. The best hand wins. If the top hands tie, only the tied players roll again
  5. Anyone who takes more than 15 seconds to finish a roll is out

The dice are Blizzard's own /roll 6, rolled by the server and shown in chat, so nobody can fake a roll and everyone watching sees every die land. Only the host needs to send addon messages, which means trial and Veteran accounts can play on WoW Forever (they just can't host). Tables need a group and work in the open world; WoW Forever blocks addon messages inside instances.

How It Works

The Challenge Flow

  1. You challenge another player: /ceelo (with target) or /ceelo challenge PlayerName
  2. An emote broadcasts your challenge to nearby players
  3. They see a popup and can Accept or Decline
  4. If accepted, a 3-second countdown begins
  5. Both players' clients exchange cryptographic commits
  6. After commits, both reveal their seeds
  7. Dice are derived deterministically from combined seeds
  8. Emotes broadcast each player's roll
  9. If tied, a tiebreaker round starts automatically
  10. Winner is displayed and announced via emote!

Anti-Cheat System

CeeLo uses a commit-reveal protocol to ensure fair play:

  1. Each player generates a secret random seed
  2. Each player sends a hash (commit) of their seed — you can't reverse-engineer the seed from the hash
  3. Once both commits are received, players reveal their actual seeds
  4. The addon verifies each seed matches its commit
  5. Dice rolls are derived from both seeds combined — neither player can predict or manipulate the outcome

This means:

  • ✅ You can't see your opponent's roll before committing
  • ✅ You can't change your roll after seeing theirs
  • ✅ Identical seeds on both clients produce identical results
  • ✅ Cheaters are detected and reported

Rule Variants

Access via /ceelo options:

Variant Description
Classic Standard rules: 4-5-6 beats all, 1-2-3 loses to all
Triples High Triple 6s beats even 4-5-6
House Rules Ties favor the challenger (banker advantage)

Configuration

Open settings with /ceelo options:

  • Enable sounds — Play sounds for countdown, wins, and losses
  • Auto-decline — Automatically decline all challenges
  • Rule variant — Choose your preferred ruleset

Note: All game events (challenges, rolls, outcomes) are automatically broadcast via emotes.

Technical Details

Files

File Purpose
CeeLo.toc Addon manifest
Core.lua Initialization, state machine, game flow
Utils.lua Helper functions
CommitReveal.lua Cryptographic commit-reveal protocol
Rules.lua Hand evaluation and comparison
Net.lua Addon messaging (SendAddonMessage)
UI.lua Frames, popups, animations
Options.lua Settings panel

API Usage

This addon uses:

  • C_ChatInfo.RegisterAddonMessagePrefix() — Register communication channel
  • C_ChatInfo.SendAddonMessage() — Send messages to other players
  • CHAT_MSG_ADDON event — Receive messages
  • C_Timer.After() / C_Timer.NewTicker() — Timers
  • C_Map.GetPlayerMapPosition() — Entropy for seed generation
  • SavedVariables — Persist settings and history

Debug Commands

Command Description
/ceelodebug Toggle debug output
/ceelotest Run commit-reveal self-test
/ceelorules Run rules engine tests

Changelog

v1.0.0

  • Initial release
  • Challenge/accept/decline flow
  • Commit-reveal fair dice
  • UI popups with countdown and results
  • Statistics and match history
  • Three rule variants
  • Minimap button
  • Settings panel

Development

Run the protocol simulator (Lua 5.1/LuaJIT or newer):

lua tests/sim.lua            # or: luajit tests/sim.lua
VERBOSE=1 lua tests/sim.lua  # show each simulated client's chat output

It loads two copies of the game logic against a stubbed WoW API and fake clock, and plays scenarios through the real network code. CI runs it on every push and before each release.

License

MIT License — feel free to modify and share!

Credits

  • Inspired by the classic street dice game Cee-lo
  • Built following patterns from the WoWAddonDevGuide
  • Uses WoW's built-in UI templates

Have fun and may the dice be ever in your favor! 🎲🎲🎲

About

CeeLo brings the classic three-dice street game to World of Warcraft with a duel-style challenge flow and cryptographic fairness. Challenge another player, accept or decline, then watch a short countdown and deterministic, cheat‑proof dice resolution. Ties go to sudden‑death tiebreakers until a winner is decided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages