对局
你
平局
电脑
对局
5
统计
外观

了解更多 Sim 的信息

Sim

Sim is a pencil and paper game of lines for two players. Six dots stand in a hexagon, and every pair of dots is joined by a dotted line. Take turns drawing over one of them: one player draws full lines, the other dashed lines. Whoever completes a triangle of their own lines loses, so avoid triangles and leave your opponent only lines that make one. Play the computer, which plays perfectly on Hard, a friend on the same screen, or watch the computer play itself. 点击一条虚点线即可画出它,也可以先点一个点再点另一个点。双方轮流画线:一方画实线,另一方画虚线。谁用自己的线围成一个三角形(三个角都在点上),谁就输。避开三角形,让对手只剩下会围成三角形的线。

它是如何运作的

  1. Click a dotted line to draw it, or click one dot and then another. Solid moves first and draws full lines; Dashed draws dashed lines.
  2. A triangle counts when its three sides are your own lines and its corners are three of the dots. Make one and you lose.
  3. Avoid triangles and use up your opponent's safe lines. Hint shows a good line, and Mark lines that make a triangle shows the dangerous ones.

How to play

The board has six dots at the corners of a hexagon, and fifteen dotted lines, one between every pair of dots, so it looks like a hexagon with a star and a smaller hexagon inside. Solid moves first, then the players take turns, one line per turn, and a line never moves. Lines may cross; only the six dots are corners. The first player to complete a triangle of three of their own lines loses. Mixed triangles, with lines of both players, do not count. Dots changes the board to five, seven or eight dots.

Why somebody always loses

With six dots or more, every game ends with a triangle: however the lines are shared, one player has three that close up. This is Ramsey's theorem in its smallest form, R(3, 3) = 6. With five dots all ten lines can be drawn without a triangle, and five-dot games can end in a draw.

Three levels

Easy draws a random line that does not close a triangle of its own. Medium looks two moves ahead and counts each player's safe lines: the lines they can still draw without making a triangle. Hard on five and six dots plays perfectly: it solves the whole game, every one of the millions of positions, the first time it is needed. Six-dot Sim is a win for the second player, so when Hard draws dashed lines it never loses, and when it moves first it makes the game last as long as it can. On seven and eight dots Hard searches as many moves ahead as it can in half a second.

Computer against computer

Choose Computer against computer under Opponent to watch the computer play both sides at the level you pick. Speed sets how quickly it moves, and the score counts Solid's wins, the draws and Dashed's wins. On Hard with six dots, Dashed wins every game, which shows the second player's win for itself. Pause halts the game, Step plays one line at a time, and Undo steps back.

常见问题

Who invented Sim?

Gustavus Simmons, an American mathematician and cryptographer, in 1969. The game is named after him, and Martin Gardner made it known in his Mathematical Games column the same year.

Can a game of Sim end in a draw?

Not with six dots or more: someone always ends up with a triangle of their own lines. That follows from Ramsey theory. With five dots the ten lines can all be drawn without a triangle, so a draw is possible there.

Is it better to go first or second?

Second. A computer search in 1974 showed that the second player can always win six-dot Sim. Against a player who makes mistakes, either side can win, and Hard as Dashed shows how it is done.

Can I beat the computer on Hard?

On six dots only when Hard draws full lines, moving first: then a perfect reply from you wins. When Hard moves second, it never loses. On seven and eight dots Hard cannot see to the end of the game, so it can be beaten either way.

What do Hint and Mark lines that make a triangle do?

Hint lights up the line Hard would draw in your place. Mark lines that make a triangle shades every line that would close a triangle of yours, so you can see at a glance which lines are still safe.

Sim:如何录制视频?

按下播放栏中的红色录制按钮:它会录下舞台上显示的内容。再按一次即可停止,视频会保存到你的设备上。录制是免费的,只需登录即可。没有订阅时,视频的一角会带有一个小小的 PictorX 标志。录制按钮旁边的按钮可打开视频选项:形状(按显示、正方形、快拍 9:16 或宽屏 16:9)、时长(直到你停止,或用于社交媒体的 5、10、15 或 30 秒)以及文件格式:MP4、WebM 或动画 GIF。声音方面,可以选择应用自带的声音,或三段音乐之一:舒缓、明快或节奏。

准备好尝试了吗?

在浏览器中打开 PictorX — 无需安装,无需信用卡即可启动。

前往编辑器