zkayser / chess

2 stars 0 forks source link

Bitboards/initialization #35

Closed zkayser closed 2 years ago

zkayser commented 2 years ago

This PR sets up initialization of bitboard positions, i.e., bitboards that represent the starting positions of all pieces in a standard game of chess.

There are 3 composite bitboards to go along with the piece-specific bitboards: black_composite, representing the starting position of all black pieces, white_composite, representing the starting position of all white pieces, and composite, which represents the starting position of all pieces for a game.

This, in general, is a good starting spot for a game state representation.