diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-28 23:45:48 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-28 23:45:48 +0000 |
| commit | 4359f59dd22770a94e29b2ddd54b533ad1713550 (patch) | |
| tree | 507c07505d41c9e1c5ad842d274d24b1652f737f /cube.c | |
| parent | 75e8a1a9cabe7567f6019b1226783b61ba1ac42f (diff) | |
| download | puzzles-4359f59dd22770a94e29b2ddd54b533ad1713550.zip puzzles-4359f59dd22770a94e29b2ddd54b533ad1713550.tar.gz puzzles-4359f59dd22770a94e29b2ddd54b533ad1713550.tar.bz2 puzzles-4359f59dd22770a94e29b2ddd54b533ad1713550.tar.xz | |
Validate the number of pegs and holes in a Pegs game ID
Without this, "1:O" causes an assertion violation, '!"new_ui found
nowhere for cursor"'. We may as well require two pegs and one hole,
since that's the minimum for a game in which there are any moves to
make.
Diffstat (limited to 'cube.c')
0 files changed, 0 insertions, 0 deletions