Search found 6 matches

by Terradon
Mon Nov 26, 2012 11:30 am
Forum: Help, Suggestions, Etc.
Topic: wiki for programming principles
Replies: 2
Views: 25954

Re: wiki for programming principles

Thanks!
by Terradon
Sun Nov 25, 2012 11:55 pm
Forum: Programming and Technical Discussions
Topic: Bitboard => how to display board
Replies: 6
Views: 3597

Re: Bitboard => how to display board

it is just a simple GUI: a table with pieces and some php and javascript to handle moves and validation, using a few arrays, everything stored in mysql database. it's just a local online chess game website. The script is quit in-efficient coded and not bugfree.
by Terradon
Sun Nov 25, 2012 9:11 pm
Forum: Programming and Technical Discussions
Topic: Bitboard => how to display board
Replies: 6
Views: 3597

Re: Bitboard => how to display board

In present script all moves are stored in a database, retrieved from ther and put in an array $aHistory. if in chess, it is added to the move.
I did not know about the zobrist keys, so just read it, and i have to read it several times more to understand the principles of it.
We do not use a kind of ...
by Terradon
Sat Nov 24, 2012 8:59 pm
Forum: Help, Suggestions, Etc.
Topic: wiki for programming principles
Replies: 2
Views: 25954

wiki for programming principles

I do not know how other people think about it, but i just can't find all the pieces about chess programming all together at one place. Google ain't my friend, because most of the time i do do know what i am looking for.....

So a wiki for pseudo-coding en howto's seems to me a perfect add-on for ...
by Terradon
Sat Nov 24, 2012 8:38 pm
Forum: Programming and Technical Discussions
Topic: Bitboard => how to display board
Replies: 6
Views: 3597

Re: Bitboard => how to display board

Ok, what i have in mind now:
Per game:
saving the 14 bitboards (12 for pieces and 2 for all white en al blackpieces, easier for evaluation of valid moves) in my database.
retrieve the bitboards, loop trough the bitboards, create and display the board.
If moved, check move via bitboard mechanism ...
by Terradon
Fri Nov 23, 2012 9:18 pm
Forum: Programming and Technical Discussions
Topic: Bitboard => how to display board
Replies: 6
Views: 3597

Bitboard => how to display board

Hi all,
I wanted to rewrite an existing online chessgame (in PHP) because of limitations in the current script.
After readng a lot, it's time to start coding.
First part is the boardpresentation.
Starting with 14 bitboards for all kind of pieces, including 2 for all white and all black pieces), how ...