I want to create a chess game. I am at the stage of looking for the best data structures for my board.
Board representation (chess) - Wikipedia, the free encyclopedia
In the given link they talk about different representations for a chess board.
They talk a lot about bitrepresentation. My question is they represent the pieces of the game
by bits but the OO way is to create a class parent class Piece with derived classes King, Queen, etc... .
How do you keep this OO structure and use these bitmaps? Or am I seeing this wrong?