Advertisement
Guest User

h

a guest
Nov 14th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.68 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <fstream>
  4. #include <string.h>
  5. #include <ctime>
  6. #include <vector>
  7.  
  8. using namespace std;
  9.  
  10. class Gomoku {
  11.  
  12. public:
  13.     Gomoku(int boardSize);
  14.     void menu();
  15.     int getBoardsize();
  16.     void setBoard();
  17.     void printBoard();
  18.     int player1();
  19.     int player2();
  20.     void playVsPlayer();
  21.     void playVsBot();
  22.     bool determineWinner();
  23.     void bot();
  24.  
  25. private:
  26.     int choice;
  27.     int boardSize;
  28.     vector< vector<int> > board;
  29.     int row;
  30.     int rowBot;
  31.     int columnBot;
  32.     char letter;
  33.     int column;
  34.     int counter;
  35.     int symb;
  36.     int c;
  37.     int turn;
  38.     int end;
  39.     int random;
  40.  
  41. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement