guessthenumber/README.md
2025-04-16 14:08:44 +02:00

15 lines
578 B
Markdown

# Guess the number
I think of a number in the range from 0 to 10.
In order 3 players can make a guess. The one who is the closest wins.
What is the perfect strategy?
This script simulate this game and shows the best option ([Nash equilibrium](https://en.wikipedia.org/wiki/Nash_equilibrium)).
If multiple options are equal good, one chooses the lowest number.
This assumtion is the easiest to implement, but I think it will not be the best.
[![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)
© 2025 Beat Jäckle