I have addet some logic to mark specific squares if they have a piece on them, and am currently working on a way to move pieces across the board, for storring the possitions of pieces I have decidet to use bitmaps. They are basicly just a long int with 64 bits, each representing one square, one bitmap for every piece type. This may seem slow at the beginning but this will probably be faster for the engin itsself later on.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.