Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // MakingGamesWithBen Game Challenge 2: Tic Tac Toe!
- // https://www.youtube.com/watch?v=gm2yPC65X78&list=PLSPw4ASQYyynKPY0I-QFHK0iJTjnvNUys&index=21
- // main.cpp - https://pastebin.com/M292p0K6
- // Board.cpp - https://pastebin.com/DJemtCeA
- #pragma once
- #include <iostream>
- #include <string>
- using namespace std;
- class Board{
- public:
- Board();
- void playGame();
- private:
- char _board[3][3];
- void initBoard();
- void printBoard();
- int getResult();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement