diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-28 23:12:52 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-01-28 23:12:52 +0000 |
| commit | 75e8a1a9cabe7567f6019b1226783b61ba1ac42f (patch) | |
| tree | 64135b6d90b9895937b45a914c761e0d31266304 /net.c | |
| parent | 28671e76b736aeb860b1f725898c45fe70ae6212 (diff) | |
| download | puzzles-75e8a1a9cabe7567f6019b1226783b61ba1ac42f.zip puzzles-75e8a1a9cabe7567f6019b1226783b61ba1ac42f.tar.gz puzzles-75e8a1a9cabe7567f6019b1226783b61ba1ac42f.tar.bz2 puzzles-75e8a1a9cabe7567f6019b1226783b61ba1ac42f.tar.xz | |
Limit number of mines in Mines game description
Without this, it's possible to specify a description that has more
mines than there are places on the board to place them, which
eventually leads to a division by zero. This can be demonstrated by
entering a game description of "3:r8,u," and then clicking anywhere on
the board.
Diffstat (limited to 'net.c')
0 files changed, 0 insertions, 0 deletions