Answer the question
In order to leave comments, you need to log in
Is it difficult to combine algorithms for playing checkers and chess?
Everyone DD!
I am working on the theme of one mobile game (where you can play / walk both checkers and chess)
For checkers and chess, as I understand it, their own engines-algorithms are provided (different developers, different quality) The
question is simple. If this is an algorithm (calculation of various possible moves), is it possible to combine these algorithms (take 2a algorithms, add additional rules and conditions to them, for example, for checkers - chess and vice versa)? Or will I have to re-write a new engine?
Thanks
Answer the question
In order to leave comments, you need to log in
Rustam Zalyalutdinov :
There are far from just rules for two roles.
The checkers algorithm has its own rules for winning, while the chess algorithm has its own.
In the algorithm of the game, it is necessary to beat in checkers, but not in chess.
The choice of what to walk - is fundamentally different.
No, you can't merge algorithms
Theoretically possible. In both games, most engines use iteration of positions with alpha-beta pruning, only the position value estimation functions differ. You can also use deep learning methods, then all games will be stored in the neural network configuration in the form of strategies for a single meta-game.
But first you need to decide on the purpose of such an association. What for?
Combining algorithms is the least of the problems. First you need to develop this very general algorithm. Tobish - write the rules for these chess games. At a minimum, this will already raise a ton of questions - the field will have to be reworked - the density of the pieces will change - and the victory conditions, etc. At the same time, the game should still be interesting!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question