Last active
April 29, 2017 03:01
-
-
Save rharriso/d8e8de49a5fec5b6706bb3954069abe9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SudokuCell { | |
public: | |
coord pos; | |
set<coord> neighbors{}; | |
int value = 0; | |
// set position and generate neighbors | |
void setPosition(coord pos); | |
private | |
// create the set of coords associated with neighboring cells | |
void generateAllNeighbors(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment