Closed Jackenmen closed 1 day ago
Note: to correctly reproduce the issue, the line 146 in regression test should be changed:
- ptile.GetPlacedFeatureAtSide(side.Bottom, feature.City).Meeple = elements.Meeple{
+ ptile.GetPlacedFeatureAtSide(side.Top, feature.Field).Meeple = elements.Meeple{
Description
This TODO needs to be addressed: https://github.com/YetAnotherSpieskowcy/Carcassonne-Engine/blob/a711a81f37b51efd849b63710c001a60ab8971fb/pkg/game/board.go#L240-L243
Graphical example
Regression test
Already present in the affected branch (#62), you'll just need to remove the
t.Skip
to have it run: https://github.com/YetAnotherSpieskowcy/Carcassonne-Engine/blob/a711a81f37b51efd849b63710c001a60ab8971fb/pkg/game/board_test.go#L137-L177Test output