Skip to main content

Riddle solver algorithms for the NYT Digits game

Project description

NYT_digits_solver

Puzzle solver algorithm for the popular (former) digits game https://www.nytimes.com/games/digits (no longer exists).

Utilization

In [1]: import nyt_digits_solver as solver

In [2]: solver.solve_digits([1,2,3], 6)
Out[2]: [[[1, 2, 3], [3, 3], [6]]]

In [3]: solver.solve_digits_with_moves([1,2,3], 6)
Out[3]: [['2+1', '3+3']]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyt_digits_solver-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nyt_digits_solver-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file nyt_digits_solver-0.1.2.tar.gz.

File metadata

  • Download URL: nyt_digits_solver-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for nyt_digits_solver-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b7aaa84109923b2b1f1b3fa4d66db3a3949869c9641cee75eaf1222cdea8b7d1
MD5 a2ba402ee68bbed039542d2ab373d099
BLAKE2b-256 8add885453427e885a222831935ae8d9c6e9a01d856085114aee361a1e832877

See more details on using hashes here.

File details

Details for the file nyt_digits_solver-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nyt_digits_solver-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05a2d6843770d1e992de93d657a464bff7d07e920f7c5d97f2aea92c7c950a96
MD5 d5856eb3bd718e49e55533e406bbcfb0
BLAKE2b-256 e07a49539110ecb5763c2138d8d66bb70dba5bf6f931d552b32cc4513af81dd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page