@Override
	public boolean isSolution()
	{
		int value = 1;
		int size = width * height;
		
		for (int y = 0; y < height; y++)
		{
			for (int x = 0; x < width; x++)
			{
				if (board[y][x] != value)
				{
					return false;
				}
				
				value = (value + 1) % size;
			}
		}
		
		return true;
	}