/Tic-Tac-Toe

A Basic Command Line Mini Project made using c++, a little Game named Tic Tac Toe

Primary LanguageC++MIT LicenseMIT

Tic-Tac-Toe

A Basic Command Line Mini Project made using c++, a little Game named Tic Tac Toe.

IDE used

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.

Download the Code

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.

How to Open

  1. Clone or Download the project as mentioned above.
  2. Extract the zip.
  3. Open your IDE of choice.
  4. Open the Extracted Folder or cloned folder in it or simply open the file named Tic-Tac-Toe.cpp.

Building or Compiling

To directly build and run the game using MinGW / GCC or MSVC do as follow:

with MinGW or GNU-GCC

  1. Open a Command line terminal either Command Prompt or Powershell.
  2. Type 'gcc Tic-Tac-Toe.cpp -o Tic-Tac-Toe' this will create an executable file.
  3. Run the file.

with MSVC (Microsoft Visual C)

  1. Open a Developers Command Line as Admin.
  2. cd to the directory where you extracted the code or where GitHub cloned it.
  3. Type 'cl Tic-Tac-Toe.cpp /EHsc' (EHsc is to handle some Exception regarding the use getchar( ) instead of _getchar( ) ) and press Enter.
  4. Here's the compiled Executable.

Download Directly

You can also download the executable from releases page directly.

Contributions to the Code Welcomed