This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
void printRules() { | |
cout << "Rules:\n" | |
<< " * The player who has three horizontally adjacent pieces, loses\n" | |
<< " * The player who has three vertically adjacent pieces, loses\n" | |
<< " * The player who has three diagonally adjacent pieces, loses\n" |