learn some better difficulty programing your RNG does not prevent the bot from getting 10 every other tile. Did not lose once but still its simply filled with mistakes, bots tend to do stuff that makes no sense.
Edit: i see the answer but your RNG makes little to no sesne due to no prevention of the repeats which makes the player and the bots get in one games constantly big or constantly small tiles making it not a strategy but rng game as even the best strategy will fail if the RNG will decide you wont go above half the possible points. Not mentioning that bots on the hardest difficulty do mistakes by chasing the most points as this way you can outplay them by simply creating zones of small ponts where if they decide to react its already to late. Instead they should run a probability check and pick the places which will not just earn most points but also will give them some safety (closing on corners to secure points, not placing numbers in a way that gives a emtpy space sorrounded by tiles). Also a chance for getting the tiles again should drop significantly for at least 3 turns to avoid often just getting max tiles back to back. For now the game is not about getting the best score but getting tiles and placing them wherever they fit as bots constantly trip and give you very many ocasions to take them over and woking out how they work makes it incredibly easy to beat them on every difficulty.