/****************************Project*******************************
 * This Project is called "Sudoku Assistant" It provides a Sudoku 
 * 9x9 grid for the player to solve Sudoku puzzels. I provide tool
 * options for the player like error detection and valid number 
 * identification. This program is not ment to solve Sudoku puzzels
 * by itself but rather augment a human player's ability yo solve the
 * puzzel. The Program will also have the ability to store puzzels 
 * previously solved by the player and rehash the numbers to make it seem 
 * a new puzzel.
 * 04/21/05
 * By:
 * Wilson Saunders
 ******************************File********************************
 * I am the Grid class file. I define a Sudoku 9x9 grid as an array 
 * of 81 ints. The grid will have methods to draw itself as well as 
 * methods of computing weather or not certain moves are valid.
 * 
 * This File Was Written:
 * 04/21/05
 * By:
 * Wilson Saunders
 ******************************************************************/

#include "ScreenDiv.h"
#include "grid.h"

/*****************************************************************
 * I am the constructor I set the internal defaults
 ******************************************************************/
Grid::Grid(){
	ClearGrid();
}

/*****************************************************************
 * I am the destructor I exist for good form
 ******************************************************************/
Grid::~Grid(){}

/*****************************************************************
 * I am grid clear function I set all values to 0 ie blank
 ******************************************************************/
void Grid::ClearGrid(){
	int itor;
	for (itor = 0; itor< 81; itor ++){
		data[itor]=0;
	}
}

/*****************************************************************
 * I am grid copy function 
 ******************************************************************/
void Grid::CopyGrid(Grid * other){
	int itor;
	for (itor = 0; itor < 81; itor++){
		data[itor] = other->data[itor];
	}
	return;
}



	