Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void oppgave2b(int count)
- {
- puzzle = l;
- bool finished = false;
- while (!finished) {
- newPuzzle = puzzle;
- rel(*this, newPuzzle[rand()%81+1] == 0);
- if (count > 1) finished = true;
- else
- puzzle = newPuzzle;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement