Projects › Score sheets › Hearts score sheet

Free Hearts score sheet online, and how to make your own

Keep score in the Hearts card game on a phone in the middle of the table. Type in the hearts and Queen of spades each player took, and it checks the hand adds up to 26, spots when someone shoots the moon, reminds you which way to pass and ends the game at 100. Print blank score sheets too. Nothing is sent anywhere. Then make your own with a free AI assistant.

Easy 30 to 45 minutes Free · no sign-up Nothing leaves your device

Loading the score keeper…

Your game saves in this browser only, so you can close the page and carry on later. Nothing is sent anywhere, and you can clear it any time in Settings. It uses the same players as our other score keepers.

Watch it come together, start to finish
Quick rules

How Hearts scoring works

Hearts is usually played by four people. You try not to win tricks with hearts in them, or the Queen of spades. At the end of each hand, each player counts what they took: 1 point for every heart and 13 for the Queen of spades, so every hand adds up to 26. When someone reaches 100, the game ends and the lowest total wins.

RulePoints
Each heart you took1
Queen of spades13
Every hand adds up to26
Shooting the moonTake all 13 hearts and the Queen: you score 0 and everyone else scores 26
End of the gameWhen anyone reaches 100; lowest total wins

Passing: with four players, you pass three cards to the left in the first hand, to the right in the second, across in the third, and not at all in the fourth, then start again. The score keeper reminds you each hand. If you enter 26 for one player and 0 for everyone else, it treats that as shooting the moon and gives the others 26 each, unless you switch that rule off.

What you'll build

Your own Hearts score keeper

You'll describe the score keeper to a free AI assistant, paste what it writes into a file, and open it in your browser. Then add the game's own rules, the winner, saving and printing, one step at a time.

  • A score sheet with a column for every player and a row for every hand
  • A check that each hand adds up to 26, so mistakes get caught straight away
  • Shooting the moon worked out for you
  • A reminder of which way to pass each hand
  • Standings with the lowest score on top, a winner at 100, undo, saving and printable blank sheets

Good for: four friends at the kitchen table, families teaching Hearts to kids, and anyone who has ever forgotten which way to pass.

Before you start

What you need

An AI chat assistantClaude, ChatGPT or Gemini. The free version is fine.
A plain text editorNotepad (Windows) or TextEdit (Mac; choose Format then Make Plain Text first).
A web browserOn a laptop to build it. To use it on a phone or tablet, put it online for free (see free hosting).
First time? Read How to save and open an HTML file. It takes two minutes.
Step by step

Build it in five steps

Step 1 gives you a simple version that works, and each step after it adds more. The score keeper at the top of this page is roughly what you'll have once you've done every step. Yours will look a bit different, because the AI writes its own version each time.

  1. Ask for a simple Hearts score sheet

    Copy this prompt into your AI assistant:

    Copy this prompt
    I don't know how to code. Please make me a Hearts card game score keeper that runs in a web browser, for my family to use instead of a paper score sheet.
    
    Requirements:
    - ONE single HTML file (HTML, CSS and JavaScript together), no external libraries, no internet needed. I will save it and double-click it.
    - At the top, a list of players with a name box for each, an "Add player" button (up to 8 players) and a small remove button. Start with two players called "Player 1" and "Player 2".
    - Below, a score table with one column for each player and a new row for each hand. Under each score, show the player's running total in smaller text. Start with four players.
    - At the end of each round, a big number button next to each player's name. Tapping it opens a number pad to type their score. A "Save round" button adds the round to the table once everyone has a score.
    - A "Total" row at the bottom. In Hearts the LOWEST total wins, so highlight the lowest total.
    - Big, clear, friendly design with a dark background and buttons big enough to tap on a phone.
    
    Please give me the complete file in one code block, then tell me in simple steps how to save and open it.

    Copy the code, paste it into your text editor, and save it as hearts.html. Double-click it, type your family's names and add a couple of hands.

  2. Check the hand and spot shooting the moon

    Every Hearts hand adds up to 26, which makes it easy for the page to catch mistakes.

    Copy this prompt
    That works, thank you. Please add:
    - In the number pad, quick buttons for "+1 (a heart)", "+13 (Queen of spades)" and "26 (took everything)".
    - Under the score buttons, add up this hand's points. If they don't come to 26, show a gentle warning like "This hand adds up to 24, but it should be 26", but still let me save.
    - Shooting the moon: if one player has 26 and everyone else has 0, give that player 0 and everyone else 26 when I save, and show "Shot the moon!". Add a setting to switch this off.
    - With four players, show which way to pass this hand: left, right, across, then no passing, and repeat.
    
    Send me the complete updated file.
    Always ask for the complete file. Replace everything in hearts.html, save, and refresh the tab (F5 or Cmd+R).
  3. End the game at 100 and crown the winner

    Now it knows when a game of Hearts is over.

    Copy this prompt
    Please add:
    - A "Standings" list next to the table, sorted from lowest total to highest, with a place number for each player.
    - A thin progress bar under each player's name showing how close they are to 100.
    - When anyone's total reaches 100 or more after a hand, the game is over: the lowest total wins (or a tie). Show it in a big friendly message with a "Play again" button.
    - A setting to end the game at 50, 100 or 150.
    
    Send me the complete updated file.
  4. Save the game, add undo, and print score sheets

    Someone always types the wrong number, and someone always closes the tab. This step fixes both, and gives you paper sheets for when you'd rather use a pencil.

    Copy this prompt
    Please add saving, undo and printing:
    - Save the players and the game in localStorage after every change, so refreshing or closing the page doesn't lose anything. Add a note saying "Your game saves in this browser only. Nothing is sent anywhere." and a "Clear saved game" button that asks first.
    - An "Undo" button that takes back the last change, however many times I press it. Keep a copy of the whole game before each change to make this simple.
    - Let me tap any score in the table to change it, and work all the totals out again.
    - A "Print" panel with a choice of "A4" and "US Letter" paper, and buttons to print:
      1. A blank score sheet that fills one page, with six player columns (a score and a running total for each), a row for every round, and the scoring rules in a box at the bottom.
      2. The game being played right now, with everyone's scores filled in.
    - When printing, show only the sheet, with no buttons, using a print stylesheet and @page with the right paper size and 10 mm margins. Every sheet must fit on exactly one page.
    
    Send me the complete updated file.
  5. Make it look and feel finished

    Last of all, the touches that make it nice to pass round the table.

    Copy this prompt
    Please finish it off:
    - Coloured animal avatars for players, which I can change, and up and down arrows to change the order.
    - A strip of player cards across the top showing each player's total, with a crown on whoever is winning.
    - A big celebration with confetti when someone wins, and a "Play again" button that keeps the players.
    - A "Keep the screen awake" tick box using the Wake Lock API, hidden or greyed out if the browser can't do it.
    - On a phone, stack everything in one column, make every button at least 44 pixels tall, and let the score table scroll sideways inside its box, never the whole page.
    
    Send me the complete updated file.
ADVERTISEMENT · IN-ARTICLE
If it goes wrong

Quick fixes

Shooting the moon isn't spotted

Tell the AI: "When I save a hand, if exactly one player has 26 and every other player has 0, that player shot the moon: change their score to 0 and everyone else's to 26."

We play with the Jack of diamonds

Some families let the Jack of diamonds take 10 points off. Tell the AI: "Add a −10 quick button for the Jack of diamonds, and a minus key on the number pad, and expect each hand to add up to 16 instead of 26."

The game was gone when I opened it again

Saving only works in the same browser on the same device, and private or incognito windows forget everything when they close. If it never saves, tell the AI: "Please save the whole game to localStorage after every change and load it when the page opens."

The printout spills onto a second page or shows the buttons

In the print window, set the scale to 100% (or "Default"), not "Fit to page", and pick the same paper size as the score keeper. If it's still wrong, tell the AI: "When printing, hide everything except the score sheet, and make the sheet a few millimetres shorter than the page so it always fits on one page."

It opens as text

Re-save as plain text with exactly .html at the end, not .txt.

Questions

Questions people ask

How do you score Hearts?

At the end of each hand, every player counts the hearts they took (1 point each) and the Queen of spades if they took it (13 points). Every hand adds up to 26. The game ends when someone reaches 100, and the lowest total wins.

What is shooting the moon in Hearts?

Taking all 13 hearts and the Queen of spades in one hand. Instead of scoring 26, you score 0 and every other player scores 26. The score keeper spots it when you enter 26 for one player and 0 for the rest.

Which way do you pass in Hearts?

With four players: three cards to the left in the first hand, to the right in the second, across the table in the third, and no passing in the fourth. Then it starts again. The score keeper shows the direction each hand.

When does a game of Hearts end?

When any player reaches 100 points at the end of a hand. The player with the lowest total wins. Some people play to 50 for a quick game, which you can set in the score keeper.

Can I print a Hearts score sheet?

Yes. Press Print in the score keeper and choose a blank Hearts score sheet, on A4 or US Letter, with the scoring rules at the bottom. You can also print the game you're playing now.

Is it free, and is my game private?

Yes. There's no sign-up and no adverts in the score keeper. The game is saved in your own browser so you can carry on later, and nothing is sent anywhere. Clear it any time in Settings.

Make it your own

Twist it into something else

Players, rounds, undo, saving and printing work for almost any game with a score pad. Change the first prompt to make:

A Spades score keeper

bids, tricks, bags and the 10-bag penalty, for two teams

A Euchre score keeper

first team to 10, with points for marches and going alone

A Black Maria scorer

the British cousin of Hearts, with extra penalty cards

A games night league table

keep every game's winner for the year, with a trophy cabinet

Why build it yourself?

Your rules, your table, no adding up

Score pads go missing and the adding up always lands on one person. Yours checks every hand adds up and never forgets which way to pass, works on any phone or tablet, keeps the game if someone closes the tab, and never sends your scores anywhere. It's also a great first "real" app: buttons, tables, saving and printing, all in one small file you understand.

Keep going

What to build next