Skip to content
Afternoon Games

Free games for your website

Put a free game of Solitaire, Mahjong, Hearts or Minesweeper on your own website. Copy a few lines of HTML, paste them into your page, and your visitors can play right there.

How to add a game

  1. Choose a game below and press Copy code.
  2. Paste the code into your page where you want the game. In WordPress, add a Custom HTML block; in Wix, Squarespace or Google Sites, use the Embed or Code block.
  3. Publish. That is all.

The code is an iframe followed by a short credit line with a link to Afternoon Games. Please keep the credit line: it is the only thing we ask in return.

Colours

Klondike Solitaire

The classic: seven columns, turn one card at a time, and every deal can be won. Play Klondike Solitaire here.

Mahjong Solitaire

The Turtle layout with clear, large tiles. Every deal can be cleared, and a hint is one tap away. Play Mahjong Solitaire here.

Mahjong Connect

Join two matching tiles with a line of no more than two turns. Every board can be cleared, with hint and shuffle. Play Mahjong Connect here.

Spider Solitaire

One suit, ten columns and two packs. Every deal can be won. Play Spider Solitaire here.

FreeCell

All 52 cards face up and four free cells. The numbered deals from the old Windows game. Play FreeCell here.

Pyramid Solitaire

Clear the pyramid by pairing cards that add up to 13. Play Pyramid Solitaire here.

Golf Solitaire

Seven columns, all face up: play cards one higher or lower than the pile until the table is clear. Play Golf Solitaire here.

TriPeaks Solitaire

Three peaks of cards to clear, one higher or lower at a time, in long runs. Play TriPeaks Solitaire here.

Yukon Solitaire

Klondike with every card dealt: move any face-up card with the cards on it. Play Yukon Solitaire here.

Hearts

The trick-taking card game against three computer players, with a hint for every card. Play Hearts here.

Euchre

You and a computer partner against two computer players, a game to 10. Play Euchre here.

Spades

You and a computer partner against two computer players: bid your tricks, spades are trump, a game to 500. Play Spades here.

Nonogram

Fill squares by the numbers to reveal a picture: three sizes, every puzzle with one answer, and a hint that explains itself. Play Nonogram here.

Killer Sudoku

Sudoku with cages that add up: easy, medium or hard, every puzzle with one answer and a hint when you need it. Play Killer Sudoku here.

Kakuro

Cross sums: fill the squares so each run adds up to its clue. Easy, medium or hard, one answer each, with a hint that explains. Play Kakuro here.

Yahtzee

Five big dice and the full score card, on your own or against the computer, with a hint when you want one. Play Yahtzee here.

Gin Rummy

The two-player classic against the computer: sets and runs laid out for you, knock or go gin, a game to 100. Play Gin Rummy here.

Canasta

Classic two-player Canasta against the computer: melds, wild cards, red threes and the pile, every hand counted, a game to 5,000. Play Canasta here.

Cribbage

Six-card cribbage against the computer: the crib, pegging to 31, every hand counted for you, a game to 121. Play Cribbage here.

Word Ladder

A new ladder every day: change one letter at a time, with a clue for every rung. Play Word Ladder here.

WordSash

A new 8 by 8 clued word search every day, with one theme clue and no word list: find five non-overlapping words. Play WordSash here.

Minesweeper

The 16 by 16 board with 40 mines, solvable by logic alone, with hints that explain the next safe square. Play Minesweeper here.

Questions site owners ask

Is it really free?

Yes. You can put any of these games on any number of pages, personal or business, at no cost.

Will my visitors see ads?

Not inside the game. The game shows only the game itself and a small “Play more at Afternoon Games” link underneath.

Can I change the size?

Yes. The code sets the width to fill your column (up to 1000 pixels) and a height that suits the game. Change height="…" to make it taller or shorter; the cards and tiles resize to fit. For the card games, 600 pixels or more is most comfortable.

Do visitors keep their game if they leave?

A game in progress and the visitor’s settings are kept in their own browser, as on our site. Nothing is sent to you or to us, and there is nothing to sign in to.

Dark pages and light pages

By default the game follows each visitor’s device: light by day, dark if they have chosen a dark screen. To always match your page, choose “Always light” or “Always dark” above before copying the code.

Something is not working

Tell us on the contact page and include the address of your page.

Settings

Theme
Text size
Controls

Touch shows a large Reveal and Flag switch under the board.

Minesweeper statistics

Played
0
Cleared
0
Win rate
–
Best time
–
Average time
–
Current streak
0
Longest streak
0
Hints used
0

Streaks count boards cleared in a row.

Your statistics are kept in this browser only.