Comment 1 for bug 1346739

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Indeed, the board morph try to distinguish between single or multiple errors, and propose different sort of system messages (singular or plural).

However some board games are designed as if there is one expected user answer although there are several.
For example in Etayage20, the board are parametrised with one closure for isSuccess parameter but there are several answers to check. Providing to isSuccess: an array of closure will give the right number of expected user answers. (Aarray of closure is a valid parameter value for PluggableMorph>>isSuccess:)

Solution: check all the board based on PluggableMorph and make use of array of closure for the isSuccess: parameter when appropriate.