![]() ![]() What are the key elements of building a chess engine? In fact, it is not that complicated. Designing the Java chess engine Our “ Mechanical Turk” will be Java powered Assuming you have the basics covered, let’s look at designing a clean Object Oriented Java Chess Engine. There are also a few rules regarding checks – you have to defend. ![]() En-passant – special capture with a pawn.Promoting a pawn to any piece once they cross the board. ![]() If you are a less serious player I would point out a few overlooked and misunderstood rules: If you need to refresh your memory on the exact rules, there are Rules of chess on Wikipedia. You have two “armies” facing each other, making a move after a move, until one side is guaranteed to capture the enemy king (the checkmate), or neither side can win- a draw. I assume that you are more-less familiar with the rules of chess. How to marry the two? How about playing chess against a chess engine (chess playing program) that I have designed and wrote? If you are intrigued- read on! This is the first blog post in the series about building my chess engine in Java. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |