Morpion Solitaire

A fast player and solver. Play the four standard variants in your browser, hunt records with several search engines (NRPA, large-neighbourhood perturbation, exhaustive), and read or write MSR — a self-describing record format meant to supersede Pentasol.

▶ Play in your browser

v0.1.5

What is Morpion Solitaire?

Morpion Solitaire is a single-player pencil-and-paper game played on a grid of dots. Starting from a cross-shaped pattern of 36 dots, you repeatedly place one new dot and draw a straight line through five consecutive dots — horizontal, vertical, or diagonal. Every move must create a brand-new line; the game ends when no legal move remains. The aim is simply to make as many moves as possible.

The four standard variants

Variants differ by line length (5 or 4 dots) and by whether two parallel lines may share a point: Touching (T) allows it, Disjoint (D) does not.

VariantLineOverlapBest known
5T5 dotsTouching178 (world record)
5D5 dotsDisjoint82
4T4 dotsTouching62 (proven optimal)
4D4 dotsDisjoint35 (proven optimal)

What you can do here

Frequently asked questions

Can I play Morpion Solitaire online?
Yes. You can play all four standard variants directly in your browser, with nothing to install.
What is the Morpion Solitaire world record?
The best known 5T score is 178 moves. The 4T (62) and 4D (35) variants have been proven optimal.
Is it free?
Yes. It is free and open source. The app is licensed GPL-3.0-or-later and the MSR format library is MIT OR Apache-2.0.
What is the MSR format?
MSR is a self-describing record format for Morpion Solitaire games, designed to supersede Pentasol. Its specification is published on this site.