Spider Solitaire

Public domain classic

Build full runs from king to ace and clear the table.

Spider Solitaire

At a glance

Rules
Spider with two decks (104 cards), 10 columns and 8 runs to clear
Suits
One, two or four, chosen each time you deal
Players
Solo
Controls
Drag a run, or tap it and then a glowing column. Tap the stock to deal a new row. Ctrl or Cmd and Z takes back a move, Esc opens the menu
Help
Undo with no limit, a dealt row included, and a hint that shows one legal move
Saves
Wins, deals, best score, best time and total moves, in this browser only
Cost
Free, no account

How this Spider plays

  • 54 cards are dealt into ten columns: six in each of the first four and five in each of the other six. Only the top card of each column is face up. The other 50 cards wait in the stock as five rows of ten.
  • Any card can go on a card one rank higher, whatever its suit. To move several cards together, though, they must run down in order and all share one suit.
  • An empty column takes any card or same-suit run.
  • A tap on the stock deals one face-up card onto every column. It only works when no column is empty. The number beside the stock says how many rows are left.
  • When a column ends in a full king-to-ace run of one suit, the run lifts off the table by itself and the card under it turns over. Clear eight runs to win.
  • Score: you start on 500, lose 1 for every move and every dealt row, and gain 100 for each run cleared. Undo puts the score back as well.

What the suit setting changes

The setting decides which suits the 104 cards use. With one suit, every card is a spade, eight of each rank. With two suits the deck is spades and hearts, four of each card. With four suits it is two ordinary decks, two copies of every card.

The moving rule is what makes the difference. Only same-suit runs move as a group, so on one suit every stack you build can be moved again later. On two or four suits, a 7 of hearts placed on an 8 of spades is a legal placement, but those two cards can no longer be lifted together, and anything stacked on top of them is stuck with them.

Tips that follow from the rules

  • Build in suit when you have a choice. A same-suit stack moves as one piece and a mixed one does not.
  • Use an empty column, then refill it. It is the one place any card can go, but the stock will not deal until every column has a card again.
  • Look at every move before you deal. Each new row lands on all ten columns at once.
  • Every move costs a point. Shorter wins score higher, and each cleared run pays back 100.
  • Ask for a hint when stuck. It prefers a move that turns a face-down card over, then one that builds in suit, and puts dealing a row last.

Spider is the same game file as Klondike and FreeCell here, with the mode set to Spider.

Known limits

  • No keyboard play for moving cards: you need a mouse or touch.
  • At phone size (390 by 844) the game frame is 352 pixels wide, each card is about 31 pixels wide, and a covered card shows a strip about 9 pixels tall to tap.
  • A deal is only called stuck when no move and no deal are possible, so a hopeless table may need ending from the menu.
  • A double tap does nothing here, because Spider has no foundations.
  • Play Again after a win opens the deal box, where Deal cards starts the next table.
  • If storage is blocked, the game runs but does not keep your wins and scores.
  • Switching tabs pauses the game.

How it was built and checked

AI tool
Codex
First committed
2026-10-15, alongside Klondike and FreeCell
Size
One HTML file of 170 lines, the same file as Klondike and FreeCell with the mode set to Spider, no game libraries
Rounds of changes
1, from the build record
Checked at build
The build report: 5,725,551 rule checks over 300 seeded deals, 100 for each suit setting, 44,609 random legal moves with 4,183 undo checks, and a complete winning route for each setting scoring 1,292. It lists browser appearance, touch feel, layout at every screen size and animation as not verified
Checked since
2026-11-11: the same rule test passes again (5,725,551 checks), and an automated browser check of the local build at 1280 by 720 and 390 by 844 on two suits. It moved a card by tapping it and then a column, undid that move, asked for a hint, tapped the stock to deal a row (50 cards left became 40), set up seven cleared runs and a king-to-two column, won by tapping the ace and then that column, and dealt again
Played on a phone
2026-11-11, a full game on a real phone before this page went live

Embed Spider Solitaire on your site

Free to embed. Please keep the credit link.

<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/spider-solitaire/" title="Spider Solitaire (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div>
<p><a href="https://aivibecodedgames.com/play/spider-solitaire/">Play Spider Solitaire free</a> on AI Vibe Coded Games</p>

How it was vibe coded

ToolCodex
Rounds of changes: 1
First committed2026-10-15

The opening prompt

Make Spider solitaire with a setting for 1, 2 or 4 suits (default 1 suit). 104 cards, ten tableau columns (four with 6 cards and six with 5, top card face up), and a stock of five deals of ten cards: dealing puts one card on every column and is not allowed while any column is empty. Build down regardless of suit, but only move a run that is the same suit and in sequence. A complete king-to-ace run of one suit is removed to a foundation. Win with eight runs. Unlimited undo, a hint button, new game, moves and score, and best score saved. Support drag and drop and tap to select.

Game controls

  • Drag a run, or tap it and then tap where it goes
  • Tap the stock to deal a new row
  • Choose one, two or four suits

The game brief includes touch controls for phones.

Open the game on its own

More games