Skip to content

A simple console-based implementation of the classic Tic-Tac-Toe game written in C, where the opponent randomly selects a grid for its move!

Notifications You must be signed in to change notification settings

3Tamao3/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Simple Tic-Tac-Toe game implemented in c

Installation Guide

Follow these steps to set up and run the Tic-Tac-Toe game:

  1. Clone the Repository
    Open your terminal and run:

    git clone git@github.com:3Tamao3/Tic-Tac-Toe.git
    cd Tic-Tac-Toe/
  2. Compile the Code
    Use a C compiler (e.g., GCC) to compile the program:

    gcc -o tic_tac_toe main.c
  3. Run the Program
    Execute the compiled program:

    ./tic_tac_toe
  4. Play the Game
    Follow the on-screen instructions to enjoy the game!


Note: Ensure you have a C compiler installed on your system. For Linux users, you can install GCC by running sudo apt install gcc. On Windows, you can use tools like MinGW or WSL.

image

About

A simple console-based implementation of the classic Tic-Tac-Toe game written in C, where the opponent randomly selects a grid for its move!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages