//****************************************************************************
//
// Cs404      : Winter 2004 Ohio University Travis Dillon
// Homework 7 : Programming Assignment 2 Moving on a checkerboard
// file       : checker.h
// started    : 03-02-04
// summary    : This is the header for the Checker class.
//
//****************************************************************************


#ifndef CHECKER_H
#define CHECKER_H

#include "prog2.h"

class Checker
{
 public:
   Checker();
   ~Checker();
   void get_data();
   void build_table();
   void find_max();
   void output_path();
   void output_path(size_t row, size_t col);
   void output_dollars();
 private:
   size_t size;  //dimension of the checker board
   size_t end_position;  //where the maximum payoff is
   int** payroll;  // payroll matrix in integer dollar amounts
   size_t** where_from;  //tell how you got to each square 1, 2, or 3
};

#endif  //CHECKER_H