# Board Game algorithms

I have to find an evaluation function in which we evaluate the state of the game in each round.

The game is like " roborally " , it is 2 player-Game in which there are a board and cards that decides my movements on each cards there is number of translations , number or rotations.The goal of the game is to get all the Flags before the other player does ( there are 4 Flags). \

each player recives 9 cards and can only play 5 cards in one round and each field have some special effects ( some are positive and some are negative), so i must find a heuristic that evaluates the movement i will play. the question how can i find such function .

The colored fields are the original board game , the white fields are only virtual. \

Let s say we are on the field (6.0) and we want to go further ( out of the original board) then we lend to (6.13) which is virutal, but then we will go to the real (6.13) here is an example .

let say that i am standing on filed (5.12) and the flag is on field(4.0) how to use the function to decide in which order should i play the 5 cards and which 5 cards from the 9 cards should i play

is there any related game algorithms that might help to find a solution for my problem .

• What sort of movements can you do, exactly? Do you know which movement cards you'll get in advance? When is a path 'shortest'? Minimum number of cards? Distance between the fields? Minimal distance actually traveled? Also, your title can be improved. It would help if you can edit it to more specific to this problem, rather than a general title. Jan 24, 2018 at 15:40
• acually the game is kinda more complicated , and yeah i recieve 9 cards and i have to play only 5 cards , each card has (r,t,f) with r is number or rotation ( the play will make r rotations ) and number of translations and f the number or field rotation .i must find a good heuristic to evaluate each card i paly ( the goal of the game is to conqure 4 Flags ( flags are distributed on the field) ,thus finding the shortest path is still only an idea which i think is not correct Jan 24, 2018 at 15:45
• Perhaps you should take some time to think about your problem and ask a better question. Jan 24, 2018 at 15:49
• Since the question doesn't fully specify the game, I doubt that we have enough information to give you a solution. But I don't think the question will be interesting if you fully specify the game; it seems too complicated and messy to be interesting. Instead, it sounds like it would be more useful to ask about some concept (something that will be useful in other contexts / other games too) rather than just asking for a solution for this specific game. (continued)
– D.W.
Jan 25, 2018 at 1:01