Results 1 to 5 of 5
  1. #1
    pas
    Member
    pas is offline

    Posts
    63

    Patching Bot Logic [c++]

    So I decided to work on a patching bot last night.
    Code isn't as neat as the bilging one and there are no tests yet
    Just rushed it but I should do them ^.

    Right now it continuously randomly generates boards (can't remember how fast but I believe at least 300k boards / sec on a single thread) and checks them to find good boards. And makes use of multi threading (which is only used in main.c and is very messy ).

    https://github.com/ih1115/Patching

    I think I will try to get it working in terms of applying this logic to actually parsing pixels into board and moving pieces before anything else,

    source : https://github.com/ih1115/Patching

    Of course, all style improvements are greatly appreciated and will be listened to.
    The algorithm of doing random boards the way I've done it is not very optimal either.
    Haven't had the time to play around with it much so don't expect it to be flawless atm.
    Last edited by pas; 07-31-2017 at 10:22 PM.

  2. #2
    Senior Member
    erik is offline

    Posts
    343
    does this have GPU capabilities


    Last edited by erik; 08-01-2017 at 06:00 AM.

  3. #3
    SF Pleb
    jak8222 is offline

    Posts
    141
    Try a* with patching can work really well

  4. #4
    pas
    Member
    pas is offline

    Posts
    63
    Ill think about it agaib later but last time I thought abou dijstra for lo ngest path but it becomes very cumbersome when there are multiple tie offs

  5. #5
    SF Pleb
    jak8222 is offline

    Posts
    141
    Yeah, it can be pretty odd, I've had some success with it in patching.

Posting Permissions

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