HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ematth
pips
Python2025–2025
ematth / pips

pips

Puzzle solver for Pips puzzles, a recent addition to NYT Games. Designed using only vanilla python libraries.

2Distinct people
2Mentions
0Explicit recommenders
8GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Puzzle solver for Pips puzzles, a recent addition to NYT Games. Designed using only vanilla python libraries.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-10-23 14:55:35 UTC to 2025-10-23 15:34:30 UTC.

012025-10-23 14:00:00 UTC to 2025-10-23 15:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 23, 14:002025-10-23 15:00:00 UTC to 2025-10-23 16:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 23, 15:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Oct 23, 14:002025-10-23 14:00:00 UTC2025-10-23 15:00:00 UTC101
Oct 23, 15:002025-10-23 15:00:00 UTC2025-10-23 16:00:00 UTC101

What Hacker News says

2 sources
Hey Brian, I really enjoyed reading your work on the Pips game! I found myself applying a similar backtracking algorithm to my Pythonic solution (https://github.com/ematth/pips). I focused on finding a single solution for each puzzle as opposed to all possible solutions. For hard puzzles with longer run times, I found that running multiple processes, each with the domino list shuffled, gets the solve time down to <15 seconds.
In Solving the NY Times "Pips" game with F#
> My guess is that if I changed the way the solve functions picks the square to start with it could greatly change the time. Right now it just takes the first open square found scanning right to left and top to bottom. Maybe something like giving priority to squares in small constraint groups would be more effective. Your guess is correct. Take a look at my backtracking solver linked from another comment; one of the optimizations I added after the fact was to select a square with the "smallest" constraint for the next placement, with the motivation of avoiding a rathole. (The 2025-09-15 puzzle with the =63 constraint is a good test case, FWIW.) My Rust solver running on an M3 Max Macbook Pro is often under a second and never more than about 30 seconds. (I did pull down all of the past puzzles using an observation from Evan Matthews in
Read the rest
In Solving the NYTimes Pips puzzle with a constraint solver

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.