Search found 80 matches

by maksimKorzh
Thu Jul 18, 2019 6:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A question to MCTS + NN experts
Replies: 6
Views: 335

Re: A question to MCTS + NN experts

For start I'd like to know what's the most basic way of converting a chess position(array based) into an input dataset for the NN. They call this board representation in some papers but that sounds confusing because I used to understand "board representation" term as "array based vs bitboard". So l...
by maksimKorzh
Thu Jul 18, 2019 6:33 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A question to MCTS + NN experts
Replies: 6
Views: 335

Re: A question to MCTS + NN experts

I am far from an expert, but here are some suggestions. You mentioned SL NN experience, but perhaps start with something simpler than chess. This repo I found to be very helpful (there is another one for chess after understanding Connect-4; the overall process is the same) https://github.com/Zeta36...
by maksimKorzh
Wed Jul 17, 2019 9:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A question to MCTS + NN experts
Replies: 6
Views: 335

Re: A question to MCTS + NN experts

For start I'd like to know what's the most basic way of converting a chess position(array based) into an input dataset for the NN. They call this board representation in some papers but that sounds confusing because I used to understand "board representation" term as "array based vs bitboard". So le...
by maksimKorzh
Wed Jul 17, 2019 8:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A question to MCTS + NN experts
Replies: 6
Views: 335

A question to MCTS + NN experts

Hi, guys! I've written for about 5 alpha-beta engines with material + positional score evaluation in past years (1200 - 1400 average ELO, pretty basic). Now I'd like to implement my own model that would be learning by playing itself, adjusting weights along the way. I know there already exist some i...
by maksimKorzh
Sat Jun 08, 2019 11:48 am
Forum: Computer Chess Club: General Topics
Topic: Bare minimum chess program in javascript
Replies: 4
Views: 305

Re: Bare minimum chess program in javascript

RubiChess wrote:
Sat Jun 08, 2019 10:34 am
Pawn promotion seems missing.
Thanks for reporting bug, RubiChess, already fixed. I've overlooked that while porting code from C to JS
by maksimKorzh
Sat Jun 08, 2019 11:11 am
Forum: Computer Chess Club: General Topics
Topic: Bare minimum chess program in javascript
Replies: 4
Views: 305

Re: Bare minimum chess program in javascript

Good start! Not handling all legal moves while allowing illegal moves is undesirable. Also, after I (illegally) captured using a pinned pawn, the engine moved its (unprotected) Queen adjacent to my King and announced checkmate, ending the game. Not only could I have captured the Queen, but my King ...
by maksimKorzh
Sat Jun 08, 2019 7:42 am
Forum: Computer Chess Club: General Topics
Topic: Bare minimum chess program in javascript
Replies: 4
Views: 305

Bare minimum chess program in javascript

Hi, talkchess community! I'd like to introduce you the bare minimum chess program I've written in javascript that can be played online here: https://maksimkorzh.github.io/bmcp_js/ This won't be interesting to those who writes 2500+ Elo rated engines, but for beginners who wants to write simple and m...
by maksimKorzh
Mon Mar 11, 2019 10:40 pm
Forum: Computer Chess Club: General Topics
Topic: A tribute to chess programming community
Replies: 2
Views: 376

Re: A tribute to chess programming community

Text representation is also available, thanks for your feedback, Dann. Just uncomment the pieces[] = ",-pknrbkq-P-KNBRQ" array and the corresponding line in PrintBoard() function. To make it look like this: void PrintBoard() { for(int sq = 0; sq < 128; sq++) { if(!(sq % 16)) printf(" %d ", 8 - (sq /...
by maksimKorzh
Mon Mar 11, 2019 9:53 pm
Forum: Computer Chess Club: General Topics
Topic: A tribute to chess programming community
Replies: 2
Views: 376

A tribute to chess programming community

Hi, guys! The chess programming community gave me so much for the last three years and now I'd like to give it something back. I couldn't write a strong chess program so far and won't do that probably ever for many reasons, so I've chosen a different approach - minimalist chess. Being inspired by Bl...
by maksimKorzh
Wed Mar 06, 2019 9:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 20
Views: 3483

Re: Chess engine in braifuck

The recursion is one of the biggest problems actually so I would really appreciate any detailed examples, you'd help a lot. The I was thinking to implement minimax is as follows: ++++++[//minimax_algorithm] where the number of pluses defines the search depth and the loop within square brackets is a...