gamesimulation in python
Find a file
2025-04-16 14:08:44 +02:00
guessthenumber.py v1 2025-04-16 13:58:49 +02:00
LICENSE README and LICENSE 2025-04-16 14:08:44 +02:00
README.md README and LICENSE 2025-04-16 14:08:44 +02:00

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). 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

© 2025 Beat Jäckle