shithub: puzzles

Download patch

ref: f3c95109c7b905f74b5f149eea21f68444c31ef7
parent: 968828283b7a0aacd71d4868846291b381884eb1
author: Jacob Nevins <jacobn@chiark.greenend.org.uk>
date: Tue Jul 5 17:27:19 EDT 2005

Add a `full' parameter to validate_params(), analogous to the one in
encode_params(). This is necessary for cases where generation-time parameters
that are normally omitted from descriptive IDs can place restrictions on other
parameters; in particular, when the default value of a relevant generation-time
parameter is not the one used to generate the descriptive ID, validation could
reject self-generated IDs (e.g., Net `5x2w:56182ae7c2', and some cases in
`Pegs').

[originally from svn r6068]