Anyone who encounters WM at least once knows the game balls Having played enough in it in the subway, I wondered: how to create an algorithm that will score the maximum number of points in this simple game.
Hopefully, the habro-community will advance in solving this task by collective wisdom.