I want to create a AI for chess like game.

Could anyone point me to sources of information what should I know before implementing anything like that.

Some details about the game. There are 5 figures that can make moves and each of them can make a move based on cards that player own. After taking a move card is discarded and player must take another from the deck. Game is won after "king" is taken from the board or king's square is occupied by opposing king.

Any guidance is appreciated :)


closed as off-topic by Philipp, Seth Battin, MichaelHouse Jul 27 '15 at 14:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – MichaelHouse
If this question can be reworded to fit the rules in the help center, please edit the question.



Here is the start of series of articles that explains making a chess game. It covers how to model the board in your code, and how to tell what the computer what moves moves are possible / viable. Its a bit older, and doesn't provide any code, but it will at least give you a strong start on making a CHESS-LIKE game.

This is an example of a simple chess game made in java for reference

REVISED What I think would be best would be to rework the chessmate project linked above. First remove the context of piece rank(take out pawns, queens, etc), and then then add them to individual pieces base on something like Player.LastPlayedCard();

  • \$\begingroup\$ Link-only answers are discouraged on Stackexchange because they become useless through link-rot sooner or later. It is of course good when you link to your sources or to more in-depth info, but please also sumarize the relevant parts of the information which can be found there in your own words. \$\endgroup\$ – Philipp Jul 26 '15 at 23:06
  • \$\begingroup\$ Keep in mind that the game proposed by the OP, is a game with hidden information (each player can move according to cards- I can only assume these cards are hidden for the other player). Also there are decks of cards in play which are hidden information. Thus this is a bit different than Chess which is a perfect information game. \$\endgroup\$ – Felsir Jul 27 '15 at 6:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.