There is no valid turn where the tile is placed above the starting tile, and player can place a meeple on the city. Notice that the city will be closed as the tile will be placed.
GetLegalMoves returns 5 possible moves for tile in position (0,1), however two are empty (without meeple). It correctly creates move with meeple on a:
bottom field
upper field
road
The request should return 5 moves for that position, but one move is wrong.
In total request returns 30 moves, but we are interested in a tile on certain position.
https://github.com/YetAnotherSpieskowcy/Carcassonne-Engine/blob/4e58c78935e4514669664661a4e06d5999e7e81e/pkg/engine/engine_test.go#L676-L736
There is no valid turn where the tile is placed above the starting tile, and player can place a meeple on the city. Notice that the city will be closed as the tile will be placed. GetLegalMoves returns 5 possible moves for tile in position (0,1), however two are empty (without meeple). It correctly creates move with meeple on a:
In total request returns 30 moves, but we are interested in a tile on certain position.