Implemented Carcassonne’s rules over the weekend (hacking toward an AI). Scoring farms was very hard to express. Anyone have elegant tricks?
Conversation
1
Replying to
I suspect maybe they hard-coded handling of each tile type rather than trying to compute the general solution?
Replying to
data structure for fields keeps track of adjacent cities when they are completed. AI queries for tentative score of field.
1


