Skip to content

Instantly share code, notes, and snippets.

@rharriso
Last active April 29, 2017 03:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rharriso/d8e8de49a5fec5b6706bb3954069abe9 to your computer and use it in GitHub Desktop.
Save rharriso/d8e8de49a5fec5b6706bb3954069abe9 to your computer and use it in GitHub Desktop.
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