Search found 81 matches

by maksimKorzh
Wed Mar 06, 2019 9:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

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...
by maksimKorzh
Wed Mar 06, 2019 5:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Re: Chess engine in braifuck

Hi Mike, it seems like you feel insulted. I didn't really mean to insult you and the reason for your first posts were left without answer is because first: I had some internet connection troubles for a couple of days and second: your posts didn't contain any questions. But still you make me feel a ...
by maksimKorzh
Wed Mar 06, 2019 11:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Re: Chess engine in braifuck

Wouldn't it be best to just write an interpreter for a somewhat higher-level languange in brainfuck, and then write the Chess program in that? It seems to me that writing directly in brainfuck you would basically be unrolling the interpreter loop zillions of times, leading to excessive boiler-plate...
by maksimKorzh
Wed Mar 06, 2019 11:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Re: Chess engine in braifuck

Wouldn't it be best to just write an interpreter for a somewhat higher-level languange in brainfuck, and then write the Chess program in that? It seems to me that writing directly in brainfuck you would basically be unrolling the interpreter loop zillions of times, leading to excessive boiler-plate...
by maksimKorzh
Wed Mar 06, 2019 10:58 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Re: Chess engine in braifuck

Do you plan on using a minimax algorithm, a heuristic-based move selector, or simply a random move generator? I'd recommend using a much simpler game as a proof-of-concept. Even if you do eventually implement chess, you might want to use a simple variant of chess (e.g. los alamos chess, with forced...
by maksimKorzh
Wed Mar 06, 2019 10:46 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Re: Chess engine in braifuck

Do you plan on using a minimax algorithm, a heuristic-based move selector, or simply a random move generator? I'd recommend using a much simpler game as a proof-of-concept. Even if you do eventually implement chess, you might want to use a simple variant of chess (e.g. los alamos chess, with forced...
by maksimKorzh
Mon Mar 04, 2019 8:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine in braifuck
Replies: 21
Views: 4277

Chess engine in braifuck

Hi guys, we are starting a new crazy project - chess program in brainfuck programming language. Brainfuck is probably the most challenging language to choose to write a chess program in, but nevertheless we want to try. As far as hardware implementation of brainfuck CPU exists that means that in the...
by maksimKorzh
Sun Dec 02, 2018 1:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A tribute to community
Replies: 5
Views: 747

Re: A tribute to community

Thanks, Roland. Release is now available at https://github.com/maksimKorzh/nibble-chess/releases and your name is already in contributors list
by maksimKorzh
Sun Dec 02, 2018 11:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A tribute to community
Replies: 5
Views: 747

Re: A tribute to community

For those who is testing on windows please use this reference: https://github.com/maksimKorzh/nibble-chess/blob/master/src/nibble-chess(ASCII).c In this version pieces are displayed in classical manner via ASCII characters. I don't have a native windows machine and can test only via wine, unfortunat...
by maksimKorzh
Sun Dec 02, 2018 7:59 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A tribute to community
Replies: 5
Views: 747

Re: A tribute to community

Hello! Very nice. I like that kind of code. One detail. Under Windows 10, with MinGW GCC 4.8.1, I had to add "-std=c99" in the command line. Another detail. I tried several settings to have the Unicode characters correctly displayed in the console. I changed the police to NSimSun, and entered the c...