00001 #ifndef _gra_hpp_
00002 #define _gra_hpp_
00003 #include <boost/logic/tribool.hpp>
00004
00005 class Gra
00006 {
00007 public:
00008 Gra ();
00009 bool postaw (int i, int j, bool co);
00010 unsigned wolne () const;
00011 boost::tribool sprawdzWygrana () const;
00012 boost::tribool plansza (int i, int j) const;
00013 static const bool KOLKO ;
00014 static const bool KRZYZYK;
00015 static const boost::tribool PUSTE;
00016 private:
00017 boost::tribool plansza_ [3][3];
00018 unsigned znaki_;
00019 };
00020
00021 #endif