![]() ![]() I just can't understand what is shown to me. Just I can not find a place to learn that don't assume I have basic programing knowledge. So that it know the legal moves if the king is in check. The biggest thing would be to make sure it always checks to see if the king is in check. ![]() As well as tell it to shown all the possible moves when you click a piece. You''ll need to be able to add pieces to the board (at initiallisation and when pawns are promoted) and you will need to be able to delete pieces from the board (when they are taken by the opponent). A way to check if a move is a legal move or not (you don''t want someone cheating) A way to undo a move that you made on the chess board ![]() A way to represent the chess board in the computer''s memory All that I was told was needed by a few people was: I was told by several people it was very simple if not using AI. I think most the info you need is in the pics, but I could give you anything more you need. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |