did not really understand how to play but great job making it in react 👍
Most simple way - to use binary search. But maybe possible in different ways)
*rules in the top of screen