A Basic Command Line Mini Project made using c++, a little Game named Tic Tac Toe.
For creating this mini game i used VS Code (Visual Studio Code). but you can use any IDE which supports C++11 or ISO C++. Turbo wont work.
Simply just click on the Clone or Download button above (it's green colored big button at the right side on top). Clone or Download as a zip it's your choice.
- Clone or Download the project as mentioned above.
- Extract the zip.
- Open your IDE of choice.
- Open the Extracted Folder or cloned folder in it or simply open the file named Tic-Tac-Toe.cpp.
To directly build and run the game using MinGW / GCC or MSVC do as follow:
- Open a Command line terminal either Command Prompt or Powershell.
- Type 'gcc Tic-Tac-Toe.cpp -o Tic-Tac-Toe' this will create an executable file.
- Run the file.
- Open a Developers Command Line as Admin.
- cd to the directory where you extracted the code or where GitHub cloned it.
- Type 'cl Tic-Tac-Toe.cpp /EHsc' (EHsc is to handle some Exception regarding the use getchar( ) instead of _getchar( ) ) and press Enter.
- Here's the compiled Executable.
You can also download the executable from releases page directly.