Tic-Tac-Toe
CyanCoding (1589)

https://repl.it/@CyanCoding/Tic-Tac-Toe

A simple Tic-Tac-Toe game created in C++! It doesn't get much more fun than that.

P.S Tic-Tac-Toe impossible mode is beatable using 1-2 strategies. See if you can find them!

You are viewing a single comment. View All
ClaytonHickey (48)

Interesting, try to add some error-catching and shorten this:
if (fm1 == 1 && r1c == false) {
r1 = "X";
r1c = true;
stillTurn = false;
}
else if (fm1 == 2 && r2c == false) {
r2 = "X";
r2c = true;
stillTurn = false;
}
...