Thank you for sharing. For Linux (with GCC), I added the two following headers.
Code: Select all
#include <unistd.h>
#include <stdlib.h> // <---
#include <string.h> // <---
I think you meant WinBoard protocol?
Moderators: hgm, chrisw, Rebel
Thank you for sharing. For Linux (with GCC), I added the two following headers.
Code: Select all
#include <unistd.h>
#include <stdlib.h> // <---
#include <string.h> // <---
I think you meant WinBoard protocol?
sorry for asking, but what is this for a board representation?hgm wrote: ↑Fri Dec 26, 2014 3:25 pmCode: Select all
Board PST = { 0, 2, 4, 6, 6, 4, 2, 0, 0,0,0,0,0,0,0,0, 2, 8,10,12,12,10, 8, 2, 0,0,0,0,0,0,0,0, 6,12,16,18,18,16,12, 6, 0,0,0,0,0,0,0,0, 8,14,18,20,20,18,14, 8, 0,0,0,0,0,0,0,0, 8,14,18,20,20,18,14, 8, 0,0,0,0,0,0,0,0, 6,12,16,18,18,16,12, 6, 0,0,0,0,0,0,0,0, 2, 8,10,12,12,10, 8, 2, 0,0,0,0,0,0,0,0, 0, 2, 4, 6, 6, 4, 2, 0, 0,0,0,0,0,0,0,0 };
It's an 0x88 board representation.ChessLogic wrote: ↑Wed Jul 17, 2024 5:00 pm Hello,
sorry for asking, but what is this for a board representation?hgm wrote: ↑Fri Dec 26, 2014 3:25 pmCode: Select all
Board PST = { 0, 2, 4, 6, 6, 4, 2, 0, 0,0,0,0,0,0,0,0, 2, 8,10,12,12,10, 8, 2, 0,0,0,0,0,0,0,0, 6,12,16,18,18,16,12, 6, 0,0,0,0,0,0,0,0, 8,14,18,20,20,18,14, 8, 0,0,0,0,0,0,0,0, 8,14,18,20,20,18,14, 8, 0,0,0,0,0,0,0,0, 6,12,16,18,18,16,12, 6, 0,0,0,0,0,0,0,0, 2, 8,10,12,12,10, 8, 2, 0,0,0,0,0,0,0,0, 0, 2, 4, 6, 6, 4, 2, 0, 0,0,0,0,0,0,0,0 };
Is there any information on the net?
Thank you. Greetings
ChessLogic