Search found 3 matches

by mattbrah
Sun Apr 19, 2015 1:48 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Questions about chess programming from a newbie
Replies: 30
Views: 7261

Re: Questions about chess programming from a newbie

Thank you so much for your thorough reply! I will definitely try to implement all of your suggestions. I appreciate it a ton.
by mattbrah
Sun Apr 19, 2015 1:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Questions about chess programming from a newbie
Replies: 30
Views: 7261

Re: Questions about chess programming from a newbie

1) why you visit 120 squares when you have piece lists? 2) why you call this slow function every move? Why not change previous key in add_piece() and remove_piece(). I did this out of ignorance. I will certainly try and use your suggestions. It's easy to forget about small things like this when you...
by mattbrah
Sat Apr 18, 2015 6:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Questions about chess programming from a newbie
Replies: 30
Views: 7261

Questions about chess programming from a newbie

Hi all. Last December I completed my very first chess engine as an introductory to C++. It's slower and weaker than I was hoping it would be, but I'm sure that I could optimize it quite a bit. Right now it probably plays at around a 1200-1300 Elo at depth 6 which is the deepest it can go comfortably...