Re: Coding gnome-sudoku
- From: Michael Catanzaro <mike catanzaro gmail com>
- To: Igor Lopez <igor lopez bredband net>
- Cc: GTK Lists <games-list gnome org>
- Subject: Re: Coding gnome-sudoku
- Date: Fri, 29 Jul 2016 12:34:34 -0500
On Fri, Jul 29, 2016 at 10:44 AM, Igor Lopez <igor lopez bredband net> wrote:
Yes and that is my question,
How do I ensure that I will not get the same boards generated?
I would just assume that each generated puzzle will be unique. If you
want to check to be sure, you'd have to save all the boards previously
generated somewhere, then compare your new board against all previous
boards to make sure it's not the same.
We did have an embarrassing bug recently where we got duplicate
puzzles after restarting the game due to not seeding the RNG, but
that's fixed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]