Hello everybody, I need an opinion. I am developing a backgammon application game, the game of gates, and I would like to create an auto playing for the computer playing something like artificial intelligence. Well, I am a little confused, I found that link just to get an idea of the strategy that computer could follow. However, I don't like at all this strategy because it's a little bit boring for the user as he will earn the game always. According to this strategy the computer always moves first the pieces that are more far away from the target.
I refer to the checkers in my program as stacks in every position of the backgammon board. So, I was thinking to create a routine that calculates for each stack the possible playings depend on the dices each time. So that to insure that the pc would create gates. However, there are so many cases because, computer could have lonely checkers as a user could have too, that are sensitive to be attacked, and for pc's stricken checkers when they have to be set to the beggining and both positions of dices are free, if there are lonely checkers to potitions from 24 to 19 I would like to create a gate if it's possible.
Anyway the what I want to do is just to create an auto playing for the computer as a human could play. What do you suggest me??? Is that possible to do something like that with my logic? Or do I have to go with the safe way as the link I mentioned above??? Could anyone guide me??? Or any suggestions would be much appreciated. Thank you so much in advance.
I refer to the checkers in my program as stacks in every position of the backgammon board. So, I was thinking to create a routine that calculates for each stack the possible playings depend on the dices each time. So that to insure that the pc would create gates. However, there are so many cases because, computer could have lonely checkers as a user could have too, that are sensitive to be attacked, and for pc's stricken checkers when they have to be set to the beggining and both positions of dices are free, if there are lonely checkers to potitions from 24 to 19 I would like to create a gate if it's possible.
Anyway the what I want to do is just to create an auto playing for the computer as a human could play. What do you suggest me??? Is that possible to do something like that with my logic? Or do I have to go with the safe way as the link I mentioned above??? Could anyone guide me??? Or any suggestions would be much appreciated. Thank you so much in advance.