Skip to content

aadityansha06/Tic---Tac---Toe-c-language-Ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Tic Tac Toe (C Language)

A simple terminal-based Tic Tac Toe game written in C.


โœจ Features

  • Player vs Player and Player vs AI mode
  • Input validation to prevent invalid moves
  • Simple terminal UI with live board updates
  • Option to replay after the match ends
  • AI logic that can block and win

๐Ÿ“ฆ Download

Download the latest executable from the Releases Page.

๐Ÿ‘‰ Windows: game.exe
๐Ÿ‘‰ Termux/Linux: Compile from game.c


๐ŸชŸ How to Run (on Windows)

โœ… Steps:

  1. Go to the Releases Page.
  2. Download the game.exe file.
  3. Run it by:
    • Double-clicking the file, or
    • Using the terminal:
      cd path/to/download
      ./game.exe

๐Ÿ“Œ No installation required!


๐Ÿ“ฑ How to Run on Termux (Android)

๐Ÿ”ง Full Setup:

  1. Install dependencies:
    pkg update -y
    pkg install clang git -y


clang game.c -o game.out
./game.out

๐Ÿ‘จโ€๐Ÿ’ป Author Made with ๐Ÿ’ป by aadityansha06

About

Tic - tac- Toe source code c programming

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages