Skip to content

About

A browser remake of Dan Puraty's 1993 Windows dice game: 3D dice, three scoring columns, 1-4 players, works on phones, tablets and desktops.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Triple Yahoo!

A modern browser remake of Dan Puraty's 1993 Windows shareware dice game. Roll five dice, fill 39 boxes across three scoring columns, and chase the triple bonus. It plays on phones, tablets, laptops and desktops. Play it online with nothing to install, or run it on your own machine with Node.js.

▶ Play Triple Yahoo! now

Triple Yahoo! on a laptop: 3D dice on a green felt table beside the three-column scorecard

Overview

Triple Yahoo! takes the classic five-dice game and triples it. Every category on the scorecard appears three times, in a Single (×1), Double (×2) and Triple (×3) column. You choose where each roll goes, so the real game is deciding when a good roll deserves the ×3 box and when to settle for ×1.

What you get

  • 1 to 4 players taking turns on one device, with a "pass the dice" pause between turns
  • Real 3D dice with rounded edges and corners, lit as they tumble: scooped up, shaken, thrown, bounce and settle, built in pure CSS with no libraries
  • Real dice-on-felt sound: a recording of dice shaken and thrown onto felt, cut into individual hits that play exactly when each die lands, so one die sounds like one die and five sound like five. Scoring cues are synthesized
  • Yahoo! reward sound: roll five of a kind while you still have an open Yahoo! box and a short celebration track plays as the dice land. It never holds up play (fades out the moment you roll again), and Settings lets you swap it for the simple chime
  • Volume slider in Settings, with a preview click when you let go
  • Score hints: after each roll, every box you could fill glows gold (brighter means more points) and boxes that would score zero get a dashed outline
  • Scores that count up: after each score your totals tick up to the new number, with a "+N" chip beside the grand total (never blocks your next roll, and can be switched off)
  • Round progress bar in the top bar that fills in brass as the 39 rounds go by
  • Bonus pace tracking: ▲ and ▼ arrows show whether each upper-section box beat or missed "three of that number", with a running total per column
  • Dark theme by default, with a light theme one tap away
  • Full screen mode with an obvious Exit button
  • Automatic saving: close the tab mid-game and pick up where you left off
  • Remembers your name (and who was at the table) in your browser, so New game is already filled in
  • Local top ten high-score table
  • Everything stays in your browser: no accounts, no tracking, and the local version works offline
Desktop and tablet Phone
Dice table and full scorecard side by side, no scrolling Scorecard scrolls, dice tray stays docked at your thumb
Desktop layout Phone layout

How to play: quick reference

Goal: finish with the highest grand total after every player fills all 39 boxes (13 categories × 3 columns).

On your turn

  1. Roll all five dice.
  2. Tap any dice you want to throw again (they show REROLL), then roll again. You get up to 3 rolls per turn.
  3. Score by tapping one empty box on your scorecard. You can score after any roll, and you must score after the third.
  4. The box's points are multiplied by its column: ×1, ×2 or ×3. If a roll fits nothing, you have to take a zero somewhere (the game asks you to confirm).

Scoring (base points, before the column multiplier)

Category Needs Scores
Ones through Sixes Any roll Sum of the dice showing that number
Three of a kind At least 3 matching dice Sum of all five dice
Four of a kind At least 4 matching dice Sum of all five dice
Full house Exactly a pair plus a triple 25
Small straight 4 in a row (1-2-3-4, 2-3-4-5 or 3-4-5-6) 30
Large straight 5 in a row (1-2-3-4-5 or 2-3-4-5-6) 40
Yahoo! All five dice the same 50
Pot luck Any roll Sum of all five dice

Upper bonus: score 63 or more base points in Ones through Sixes within a column to earn a bonus in that column.

Column Upper points needed Bonus
Single ×1 63 +35
Double ×2 126 +70
Triple ×3 189 +105

Reading the scorecard

  • Gold box: what this roll would score there. Brighter gold means more points.
  • Dashed box: this roll would score zero there.
  • Green box: already filled.
  • ▲ / ▼ on Ones to Sixes: you beat or missed three of that number. Three of every number is exactly 63, so staying at or above that pace earns the bonus. The Upper bonus row shows each column's running total, for example 48 / 189 ▲6.

Controls

Key or button Action
R Roll
1 to 5 Mark or unmark a die for reroll
F, or the corner-arrows button Enter or leave full screen
Esc, or the gold Exit full screen button Leave full screen
Tab Move between score boxes (Enter to score)
? button Full rules in the game, laid out for your screen: three columns on a desktop, tabs on a phone

Getting started

You need Node.js (any current LTS version). There is nothing else to install and no build step.

Windows: double-click Start Game.cmd. It starts the game and opens it in your browser. Keep its console window open while you play.

Any system:

git clone https://github.com/jimerb/Triple-Yahoo.git
cd Triple-Yahoo
node server.mjs

Then open http://127.0.0.1:4317.

Play on a phone or tablet on your home Wi-Fi: start the server so other devices can reach it, then open http://<your computer's IP address>:4317 on the device.

HOST=0.0.0.0 node server.mjs            # macOS / Linux
$env:HOST='0.0.0.0'; node server.mjs    # Windows PowerShell

The game is plain static files, so any web server works too. server.mjs is a tiny built-in option that only serves the game's own files.

Settings

Open Settings (the sliders icon) to switch sound, dice animation, score count-up, score hints and the light theme on or off. With sound on you also get a volume slider and a choice of Yahoo! sound: the full reward track (about 8 seconds) or the simple chime. Choices are remembered in your browser. The game also respects your device's reduced-motion setting: if it's on, score count-up starts switched off.

On iPhone, Safari doesn't support full screen for web pages, so the full-screen button is hidden there. The phone's silent switch also mutes game sound.

Names are remembered per web address. Browsers keep saved data separately for 127.0.0.1, localhost and your computer's Wi-Fi address, so use the same address each time (on a phone, the Wi-Fi address changes if your router hands out a new one).

Rules notes

The rules come from MANUAL.WRI in the original TYH20F.ZIP release. Where the manual is silent, this version makes these calls:

  • Full house needs exactly a pair and a triple. Five of a kind does not count.
  • Three and four of a kind mean at least that many matching dice.
  • A small straight can include a duplicate die, as long as four different consecutive values are present.
  • There is no extra bonus for a second Yahoo! and no joker rule.
  • Ties stay tied. All tied winners go into the top ten, and only winning scores are recorded there.

Project structure

File Purpose
index.html Page structure
style.css Layout for every screen size, dark and light themes
app.mjs Game screen, saving, settings, remembered names, full screen, top ten
help.mjs The How to Play screen (three layouts: desktop, tablet, phone)
engine.mjs Pure scoring and turn rules (no browser code)
dice3d.mjs 3D dice tray and throw animation
audio.mjs Dice sound (recorded hits), synthesized scoring cues, volume, Yahoo! reward
sounds/dice-on-felt.wav Dice shake-and-throw recording used for roll sounds
sounds/yahoo-reward.m4a Yahoo! reward track the game plays (AAC, plays in every browser)
sounds/Yahoo!.m4a The original reward recording it was made from (not loaded by the game)
favicon.ico, favicon.svg, apple-touch-icon.png Browser tab icon and iPhone home-screen icon
server.mjs Minimal local web server with a fixed file allowlist
tests.mjs Rule tests
Start Game.cmd Windows one-click launcher
docs/ README screenshots

Tests

node --test tests.mjs

The tests cover every scoring category and its edge cases, bonus thresholds for all three columns, roll and turn limits, and complete games for one to four players.

Contributing

Bug reports and ideas are welcome in Issues. Pull requests are limited to approved collaborators. See CONTRIBUTING.md for how to become one.

Credits

Triple Yahoo! was created by Dan Puraty and released as Windows shareware in 1993. This project is an independent, from-scratch reinterpretation made out of affection for the original. It contains none of the original program's code or artwork.

Dice sound: a dice shake-and-roll recording supplied by the project owner (file tag: "Courtesy of Spidey"), trimmed and level-matched for the game.

Yahoo! reward sound: supplied by the project owner (file tag: "made with suno studio"), trimmed and re-encoded to AAC for the game.

Fonts: Fraunces and Manrope from Google Fonts. The game falls back to system fonts when offline.

About

A browser remake of Dan Puraty's 1993 Windows dice game: 3D dice, three scoring columns, 1-4 players, works on phones, tablets and desktops.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages