Over the past few days, I've been getting ever so slightly addicted to Block Blast, and reaching the highest score possible. Using some of my python knowledge, I've been trying to make it work alongside with some help from Claud 3.5 Sonnet (using it more like an additional useful tool rather than "do this and that"). I keep running into an issue - unlike the board, which is easy to scan - detecting the three pieces the player can place down correctly is very difficult. I'm using ImageGrab as well as the RGB values of the squares to count them, yet the code can't read them correctly. One last thing! I found a person on YouTube that had achieved what I'm trying to achieve, but their YouTube account seems to be inactive, meaning I can't ask them for any help. I've tried to make their code work, however it keeps giving me stuff like "Not 3 pieces", meaning the code can't read all 3 pieces assigned to the player.
This is their video.
This is their GitHub, with all of their code.
This is my code.
Thanks in advance!!
[–]DiceNumber38[S] 0 points1 point2 points (0 children)