#ifndef OLOK #define OLOK #include #include "qwixx.h" #include struct RowColor { bool direction; std::string name; int color; int xCount; int lastIndex; std::vector row; std::vector number; }; class Olok { public: std::vector grid; Olok(); void clear(); int penaltyCount; int getXCount(int color); void addX(struct Move move); int getLastIndex(int color); void addOlok(Olok o); std::string toString(void); boolean isColor(int color); }; #endif