Is there a "Hello World" or MVP of chess programming?

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Henk
Posts: 7251
Joined: Mon May 27, 2013 10:31 am

Re: Is there a "Hello World" or MVP of chess programming?

Post by Henk »

Henk wrote: Fri Feb 14, 2025 11:31 pm I can supply some "bye world"code. Some code for move generation that was so optimized that nobody understands it.
For instance some constants I used:

const ulong NOT_EP_NOT_CUR_PLAYER = NOT_EP & NOT_CUR_PLAYER;
const ulong NOT_EP_BLACK_CASTLING_NOT_CUR_PLAYER_NOT_FIFTY_MOVES = NOT_EP_BLACK_CASTLING_NOT_CUR_PLAYER & NOT_FIFTY_MOVES;
const ulong NOT_EP_NOT_BLACK_CASTLING_NOT_CUR_PLAYER_NOT_FIFTY_MOVES = NOT_EP & NOT_BLACK_CASTLING & NOT_CUR_PLAYER & NOT_FIFTY_MOVES;

Just handy for readability.
Richard Allbert
Posts: 794
Joined: Wed Jul 19, 2006 9:58 am

Re: Is there a "Hello World" or MVP of chess programming?

Post by Richard Allbert »

jaroslav.tavgen wrote: Thu Feb 13, 2025 10:16 am Totally embarrassing. I hate those videos with my guts. I don't like the narrating style, the coding style is horrible etc.
Well, when I get get entitled feedback like this, I tend to think "what's the f***ing point."

Why not put the effort in yourself?
smatovic
Posts: 3169
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Is there a "Hello World" or MVP of chess programming?

Post by smatovic »

Richard Allbert wrote: Fri Apr 11, 2025 9:10 pm
jaroslav.tavgen wrote: Thu Feb 13, 2025 10:16 am Totally embarrassing. I hate those videos with my guts. I don't like the narrating style, the coding style is horrible etc.
Well, when I get get entitled feedback like this, I tend to think "what's the f***ing point."

Why not put the effort in yourself?
Just ignore, if he trashes also MSCP then there is no point in arguing, or alike.

--
Srdja