Skip to content

Commit 12f46b1

Browse files
committed
docs: add spider-solitaier
1 parent 34a6eff commit 12f46b1

8 files changed

Lines changed: 87 additions & 5 deletions

File tree

docs/.vitepress/sidebar.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,10 @@ export const enSidebar = [
419419
text: 'Minesweeper',
420420
link: '/guide/official-games/minesweeper',
421421
},
422+
{
423+
text: 'Spider Solitaire',
424+
link: '/guide/official-games/spider-solitaire',
425+
},
422426
],
423427
},
424428
{
@@ -922,6 +926,10 @@ export const zhSidebar = [
922926
text: '扫雷',
923927
link: '/zh/guide/official-games/minesweeper',
924928
},
929+
{
930+
text: '蜘蛛纸牌',
931+
link: '/zh/guide/official-games/spider-solitaire',
932+
},
925933
],
926934
},
927935
{

docs/guide/official-games/2048.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Join the numbers and get to the 2048 tile! A minimalist puzzle game for [TINKER]
1414

1515
## Installation
1616

17-
Download and install [TINKER](https://tinker.liriliri.io/), then run:
17+
Play directly in browser at https://tinker.liriliri.io/games/2048/.
18+
19+
Or install via TINKER: download from [TINKER](https://tinker.liriliri.io/), then run:
1820

1921
```bash
2022
npm i -g tinker-2048

docs/guide/official-games/minesweeper.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Clear the minefield without detonating a bomb! A retro-style puzzle game for [TI
1515

1616
## Installation
1717

18-
Download and install [TINKER](https://tinker.liriliri.io/), then run:
18+
Play directly in browser at https://tinker.liriliri.io/games/minesweeper/.
19+
20+
Or install via TINKER: download from [TINKER](https://tinker.liriliri.io/), then run:
1921

2022
```bash
2123
npm i -g tinker-minesweeper
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# tinker-spider-solitaire
2+
3+
Build complete suits from King to Ace in this classic card game for [TINKER](https://github.com/liriliri/tinker).
4+
5+
![Screenshot](https://raw.githubusercontent.com/liriliri/tinker-games/master/packages/tinker-spider-solitaire/screenshot.png)
6+
7+
## Highlights
8+
9+
- **Three difficulty levels** — Easy (1 suit), Medium (2 suits), and Hard (4 suits)
10+
- **Classic Spider rules** — 10 columns, stock deals, and automatic K→A same-suit completions
11+
- **Drag and drop** — move valid same-suit stacks between columns with smooth animations
12+
- **Satisfying feedback** — sound effects for dealing, picking up, placing, scoring, and winning
13+
- **Score tracking** — starting score, move counter, and bonus for completed suits
14+
- **Bilingual** — fully localized in English and Chinese
15+
16+
## Installation
17+
18+
Play directly in browser at https://tinker.liriliri.io/games/spider-solitaire/.
19+
20+
Or install via TINKER: download from [TINKER](https://tinker.liriliri.io/), then run:
21+
22+
```bash
23+
npm i -g tinker-spider-solitaire
24+
```
25+
26+
## How to Play
27+
28+
1. Open the **Spider Solitaire** plugin in TINKER
29+
2. Choose a difficulty to start a new game
30+
3. Drag face-up cards to build descending sequences (any suit on the tableau)
31+
4. Move same-suit K→A stacks to the foundation automatically when complete
32+
5. Click the stock pile to deal one card to each column — no empty columns allowed
33+
6. Complete all 8 suits to win

docs/zh/guide/official-games/2048.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
## 安装
1616

17-
下载并安装 [TINKER](https://tinker.liriliri.io/),然后运行:
17+
直接在浏览器中体验:https://tinker.liriliri.io/games/2048/。
18+
19+
或者通过 TINKER 安装:下载 [TINKER](https://tinker.liriliri.io/),然后运行:
1820

1921
```bash
2022
npm i -g tinker-2048

docs/zh/guide/official-games/minesweeper.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
## 安装
1717

18-
下载并安装 [TINKER](https://tinker.liriliri.io/),然后运行:
18+
直接在浏览器中体验:https://tinker.liriliri.io/games/minesweeper/。
19+
20+
或者通过 TINKER 安装:下载 [TINKER](https://tinker.liriliri.io/),然后运行:
1921

2022
```bash
2123
npm i -g tinker-minesweeper
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# tinker-spider-solitaire
2+
3+
经典纸牌游戏,凑齐 K 到 A 的同花顺即可获胜。适用于 [TINKER](https://github.com/liriliri/tinker)
4+
5+
![Screenshot](https://raw.githubusercontent.com/liriliri/tinker-games/master/packages/tinker-spider-solitaire/screenshot.png)
6+
7+
## 亮点
8+
9+
- **三种难度** — 简单(1 种花色)、中等(2 种花色)和困难(4 种花色)
10+
- **经典蜘蛛纸牌规则** — 10 列、发牌堆以及自动完成 K→A 同花色序列
11+
- **拖放操作** — 在列之间移动有效的同花色牌堆,带有流畅的动画效果
12+
- **令人满足的反馈** — 发牌、拾取、放置、计分和获胜时均有音效
13+
- **分数追踪** — 起始分数、移动计数以及完成同花色序列的奖励
14+
- **双语** — 完整支持英文和中文
15+
16+
## 安装
17+
18+
直接在浏览器中体验:https://tinker.liriliri.io/games/spider-solitaire/。
19+
20+
或者通过 TINKER 安装:下载 [TINKER](https://tinker.liriliri.io/),然后运行:
21+
22+
```bash
23+
npm i -g tinker-spider-solitaire
24+
```
25+
26+
## 玩法
27+
28+
1. 在 TINKER 中打开 **蜘蛛纸牌** 插件
29+
2. 选择难度开始新游戏
30+
3. 拖拽正面朝上的牌来构建降序序列(牌桌上可以是任意花色)
31+
4. 当 K→A 同花色序列完成后会自动移至完成区
32+
5. 点击发牌堆向每列发一张牌 — 不允许有空列
33+
6. 完成所有 8 组同花色序列即可获胜

tinker-games

Submodule tinker-games updated 86 files

0 commit comments

Comments
 (0)