JulMan-Dev / tictoctoe

πŸ–Š A simple tic toc toe made in C++.

Repository from Github https://github.comJulMan-Dev/tictoctoeRepository from Github https://github.comJulMan-Dev/tictoctoe

tictoctoe

πŸ–Š A simple tic toc toe made in C++.

    1   2   3
 A  O β”‚ X β”‚  
   ───┼───┼───
 B  O β”‚ X β”‚  
   ───┼───┼───
 C    β”‚ X β”‚  

X played at A2
O played at B1
X played at B2
O played at A1
X played at C2

Winner: X

The program will clear the screen every render.

Usage

You have to enter the position where you want to place your symbol (X or O).

Player X turn

Enter a position (e.g. A2):

For win, you need to align 3 of your symbols in a row.

Building

You can you any build system.

If you want to build with built-in script, you will need g++.

Building with G++

Linux, maxOs :

$ ./build.sh

The built binary is located in dist/tictoctoe.

Windows :

> ./build.bat

The built binary is located in dist/tictoctoe.exe.

About

πŸ–Š A simple tic toc toe made in C++.


Languages

Language:C++ 99.0%Language:Shell 0.6%Language:Batchfile 0.4%