A little puzzle game with Bayesian Inference.
- using Bayesian Inference to solve the little puzzle
- computing the posterior probabilities for all grids
- a game with GUI is provided
- A board with 4 by 4 grid
- 4 "*" are placed on the board with one of the patterns
- the goal is to find all "*" with minimum steps.
horizontal line
x 4* * * *
vertical line
x 4* * * *
diagonal line
x 2* * * *
2 x 2 rectangle
x 9* * * *
rhombus
x 4* * * *
- beginning
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
- step one: click (1, 1)
* ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
- if there is a "*" on (1, 1)
- find all the hidden "*"
- you can show the probabilities as your will
- using the MOUSE CLICK
- show the probabilities changes
- using the MOUSE RIGHT CLICK
$ git clone
$ pip install grid-puzzle/
python -m grid_puzzle