#ifndef NIM_MOVE_H
#define NIM_MOVE_H class NimMove { public: // changed: Construct a move for resigning NimMove(); NimMove(unsigned int heap_, unsigned int count_); unsigned int get_heap() const; unsigned int get_count() const; // new bool has_resigned() const; private: unsigned int heap; unsigned int count; // new bool resigned; }; #endif |