home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 429_01 / chess12 / uplayer.hpp < prev   
Encoding:
C/C++ Source or Header  |  1994-03-30  |  325 b   |  18 lines

  1. #if !defined(USERPLAYER_HPP)
  2. #define USERPLAYER_HPP
  3.  
  4. #include "chess.hpp"
  5. #include "player.hpp"
  6.  
  7. // player whose moves are selected by the user
  8. class USERPLAYER : public PLAYER
  9.   {
  10.   public:
  11.     USERPLAYER(PIECECOLOR color) : PLAYER(color) { }
  12.  
  13.     virtual GAMESTATUS play(BOARD &board) const;
  14.  
  15.   };
  16.  
  17. #endif
  18.