https://github.com/panda4817/mastermind-solver
Using model checking and inference to determine all 10 pairs from the Are You The One show, which is a game of Mastermind.
https://github.com/panda4817/mastermind-solver
inference model-checking python3
Last synced: 29 days ago
JSON representation
Using model checking and inference to determine all 10 pairs from the Are You The One show, which is a game of Mastermind.
- Host: GitHub
- URL: https://github.com/panda4817/mastermind-solver
- Owner: Panda4817
- License: mit
- Created: 2021-02-24T11:38:42.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T16:14:04.000Z (about 5 years ago)
- Last Synced: 2025-11-13T03:02:56.933Z (6 months ago)
- Topics: inference, model-checking, python3
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastermind solver for Are You The One Show
I wanted to see if I could write a program that will find all 10 matches before the end of the show as the show is basically a game of mastermind i.e. the colours could be the males and the positions/numbers could be the females.
I tried model checking algorithm but due to a large number of variables that was too slow. With half the pairings the model checking does work well. So I used inference instead, using each episode's data to eliminate possible pairings.
## Requirements
- Python 3
- Name data in a text file
- Input data from episodes
## Attribute
Thank you to CS50 AI course for the implementation of the model checking functions in logic.py.