I am making my first chess engine in python (which is obviously not that fast). I am using the mailbox approach rather than bitboards, as switching would likely take more effort than just restarting the project. I use pseudo legal move generation, and currently my program can generate about 150k nodes per second (I can get 80 million nps on stockfish perft). Any tips other than switching to bitboards?

  • 1
    Err...don't use Python?
    – TonyK
    Aug 16 at 19:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.