Skip to main content

A Python library for solving 쌍근 puzzles with various strategies.

Reason this release was yanked:

Critical bug

Project description

Pairrot Solver

Pairrot-Solver is a 쌍근 solver.

Pairrot is a compound word of pair and carrot.

Solve 쌍근

from pairrot.solver import MaximumEntropySolver

answer = "정답"
solver = MaximumEntropySolver()
history = solver.solve(answer)
print(history)
# ['권황', '과원', '술값', '정박', '정답']

Interactive play

from pairrot.solver import MaximumEntropySolver

solver = MaximumEntropySolver()
best_word = solver.suggest()  # Enter `best_word` directly into the 쌍근.
print(best_word)
# '권황'
solver.feedback(best_word, "사과", "바나나")  # Deliver feedback from the 쌍근 to the solver.
# Repeat this until 쌍근 is over.

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

pairrot_solver-0.0.1a1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

pairrot_solver-0.0.1a1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file pairrot_solver-0.0.1a1.tar.gz.

File metadata

  • Download URL: pairrot_solver-0.0.1a1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for pairrot_solver-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 6c62a78ae1ee609dba1583487a39d32fe0dc910b6c874e891156562a9bcfda2c
MD5 0fa7275174e8dda7d16d57bd8842b1a4
BLAKE2b-256 0e19ad5fb5e15c37ed03bd0e31cd98b85b48163079e5740d0ff8ef0b4a33262e

See more details on using hashes here.

File details

Details for the file pairrot_solver-0.0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pairrot_solver-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d861ae13f2bb4f500b311704f8363dd7db88c2a091839517072c4e72c40cd1a3
MD5 c6765e60742ae68bbcacc7da71d66062
BLAKE2b-256 db26efff7b3565a155db23898f33e0abcab24dfe28e8ce494499b19a6b241796

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