Results 1 to 6 of 6
Like Tree4Likes
  • 1 Post By Abrakadabra
  • 1 Post By TheRigger
  • 2 Post By erik

Thread: Java simple bot

  1. #1
    Member
    Abrakadabra is offline

    Posts
    31

    Java simple bot

    I am trying to create my own simple bot on ypp but i am having a trouble recognizing the pieces on board. I know that most of the bots here use image recognition so i headed in that direction. I am scanning the middle of the piece and compare it with already declared rgb colors. The problem is that the bot sometimes finds the piece sometimes doesn't. Maybe i am doing something wrong so i wanted to ask for your opinions. By the way i have 2.5 years of experience in coding, so all i ask is for a guidelines in the right direction. Thanks
    nayana95 likes this.

  2. #2
    Senior Member
    TheRigger is offline

    Posts
    641
    Read board on a timer until you find a valid state, given that the puzzle is visible on the screen.
    erik likes this.

  3. #3
    Member
    Abrakadabra is offline

    Posts
    31
    That is what i am doing, i just miscalculated the coordinates and i was taking the wrong pixel and the color was so wrong => no match.

  4. #4

    Posts
    43
    Go to Y!PP's folder, all the images are there.

  5. #5
    Member
    Abrakadabra is offline

    Posts
    31
    Can you point me where exactly are piracy puzzle images, thanks

  6. #6
    Senior Member
    erik is offline

    Posts
    343
    If you can't find documents on your own computer, I have little hope for you.
    But you can find them by going to your search bar, typing %appdata%, then opening "Three Rings Design."
    Last edited by erik; 03-01-2016 at 04:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •