1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Making a chess bot with Python

Discussion in 'Off-Topic' started by Legoboy0215, Mar 30, 2017.

  1. Legoboy0215

    Legoboy0215 Witch

    Messages:
    64
    GitHub:
    legoboy0215
    Well, since MCPE kinda got boring, I started to play chess more constantly only. However, my friend got bored and googled a chess bot and beat me every time. I was suspicious, and busted him using the bot :)D). So, I set a challenge to code my own chess bot. I basically had two options: C++ (which I suck at) and Python (which I never learned before). I chose Python because, well, coincidentally, I was reading a book about Python and it scratched the surface of GUI automation, which was exactly what I needed for an online chess bot. I did a bunch of research, and planned how it was going to work. Finally, I got it (half) done today, but it can only play as white. Just wanted to share it here :) Should I open-source it?
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Yes, that sounds cool!
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    oh so it's already done?
    i thought it would be about asking how/for advice thread
     
  4. SalmonDE

    SalmonDE Zombie Pigman

    Messages:
    739
    GitHub:
    SalmonDE
    I'm interested into it. It could be useful for other coding ideas. :D
     
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    What if you made it think three moves ahead for every possible move it can make? Are you using a point system to define how much each piece is worth? Can you print stats on each game after it's done to help the user improve?
     
  6. Legoboy0215

    Legoboy0215 Witch

    Messages:
    64
    GitHub:
    legoboy0215
    I use Stockfish. I only handle the GUI part, not the engine part. I would need much more time if I wanted to build a chess engine from scratch :p
     
  7. Legoboy0215

    Legoboy0215 Witch

    Messages:
    64
    GitHub:
    legoboy0215
    Yeah
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.