r/islandsofinsight • • Mar 16 '25

Finally completed the match three challenge round with my program that takes a screenshot of the screen and auto solves the puzzles.

Post image
28 Upvotes

11 comments sorted by

6

u/Reaper_242 Mar 16 '25

If anyone is interested in my code (its not really good and it doesn't work always) here is a github link to my repo:

https://github.com/hampter-o7/match_three_solver

Everything is done in java and I only used the javafx and original java libraries for the code. Code also uses a library I made for detecting horizontal and vertical lines in an image.

1

u/LeRauxe1 Mar 16 '25

Sounds cool! But can you explain how to use it?

3

u/Reaper_242 Mar 17 '25

I can make a demo video and I'll reply to this when I make it. It is not yet portable so I need to make it portable so everyone can easily download it and use it if they want. Also there are some improvements to be made so this will take some time unfortunately.

2

u/LeRauxe1 Mar 17 '25

Will be waiting, thank you! I actually completed this challenge before, but for some reason, it got reset, and I wasted too much of my mental health to beat it once, I'm not doing it twice So, your tool would help immensely with completion)

2

u/Reaper_242 May 15 '25

I know it has been a long time but if you still need it... It's here:
https://www.youtube.com/watch?v=Neayyvs51bw
https://www.youtube.com/watch?v=MXGIIrReU1U

2

u/LeRauxe1 May 15 '25

Thank you! I've just used your program to complete the speed challenge! It took me some time, since it didn't always autosolve puzzles, so I ran out of time, but eventually it worked and I managed to get it!

2

u/Reaper_242 May 15 '25

No problem!

8

u/jocheeseburger11 Mar 16 '25

Challenge so ass it's more fun as a coding challenge

1

u/riccTheThicc May 01 '25

How fast does your program input the moves? Is this essentially a TAS of the challenge? I don't remember at all how fast having 21 seconds left over is lol.

It would be interesting to see how low the time can go.

1

u/Reaper_242 May 06 '25

I totally forgot about posting how to install it and I still haven't finished the program. It has a lot of bugs and it works like 70% of the time. If you still want to download it and use it just download the zip file on my git repo, unzip it and run it by double clicking the `runMe.bat` file. You can maybe figure it out how it works but when I'll have time I will post a tutorial how to use it.

1

u/Reaper_242 May 06 '25

The time you see is after my 20th or so try. In some cases I manually had to change the pattern cuz it didn't recognize it correctly.