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.1.tar.gz (9.2 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.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pairrot_solver-0.0.1.tar.gz
  • Upload date:
  • Size: 9.2 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.1.tar.gz
Algorithm Hash digest
SHA256 e35250707549758bae51c5ebdc80cfc0478e450bda9a2e26eda5feada1ba0601
MD5 a520620f070af6562e6d15cbf9ef3f0a
BLAKE2b-256 61c9eec22867e3fae467573a1b48d65ef66c1ef7fd6dc7fb807c91751b3ad294

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pairrot_solver-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for pairrot_solver-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9bb339d71a3f9ab88c821155f9639aecb5da5c2d3f1adac5a74b0d8fc33fec
MD5 8b5405e9cd871f3da7dd5fa17a9f9729
BLAKE2b-256 1b26eec5bbc1ee233c026fd4aebf8a69b4cff8e82a94fb9c6022e7fb30703cfb

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