It's just a basic game. It still has some issues but i'm starting practice C++ so I expect fix them soon.
Tres Rayas it's a simple game where the first one make a line with their caracter.
It's basically a matrix two dimensional array 3x3
This is the board where the player's character is 'X' and the machine is 'O'
* * *
* * *
* * *
You must type the coordinate where you will write the character for example
Input: 0 Input: 2
Output:
* * X
* * *
* * *
There isn't AI the program just choose a random number with the function rand() between 0 and 2 due to the numbers of columns and rows.
X X X
O * O
O X O
O X O
O X O
X X X
X O O
X * O
X O O
You cannot win in this examples due to some issues but I hope fix them soon
X O *
O X O
O O X
And well that's all about this game
I hope make my english better soon :s