Poker Menteur
Bluff with dice under the hat, around the table or online
Liar's dice poker (9 through Ace) as a web app you can install on your phone. There are three ways to play: one phone passed around, with an animated top-down table where the hat travels from player to player and tokens (pebbles, matches, beans); against the computer; or online, with public or private rooms, chat, spectators and a time limit per turn. All sounds are synthesized (the clatter of the hat, the "ta-da" when you lift it), and you can shake the phone to mix and throw tomatoes or flowers at the other players.
What shines
- 46 commits in two days: from pure rules (a DOM-free game.js) to a synchronized online game
- Animated round table: the hat passes from player to player, lifts, shakes when you mix; dice slide from the hat onto the table
- Full Firebase online play: public rooms or private ones with a key, chat, spectators, turn timer, presence (onDisconnect), transactions, cleanup of abandoned rooms
- 100% synthesized Web Audio sound: rattling dice, wooden knocks of the hat, a brass chord, no audio files
- "Face" dice drawn like playing cards (King, Queen, Jack) or with letters, your choice
How to use it
New game → choose the players → Shake the hat, look at your dice, make your call and pass the phone; or "Play online" for a room with others
Made with
- HTML
- CSS
- JavaScript (vanilla)
- PWA (Service Worker, manifest)
- Firebase Realtime Database
- Firebase Auth anonyme
- Web Audio API
- DeviceMotion API
- Vibration API
- SVG