Skip to content

simran-aug15/Projects-Of-C-Lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

❌⭕ Tic Tac Toe (C Language)

💡 About

A simple command-line Tic Tac Toe game built using C.
This project focuses on basic programming concepts like loops, conditionals, and arrays.


🚀 Features

  • Two-player gameplay (X vs O)
  • Win detection (rows, columns, diagonals)
  • Draw detection
  • Turn-based system
  • Console-based interface

🛠️ Tech Stack

  • Language: C
  • Compiler: GCC
  • Platform: CLI

🎮 Gameplay

  • Grid: 3×3

  • Players: X and O

  • Input: positions 1–9

  • Turns: alternate each move

  • Win: 3 marks in a row (row, column, diagonal)

  • Draw: all cells filled with no winner

    🔮 Future Improvements

  • Mode: single-player (AI)

  • Levels: easy, medium, hard

  • UI: improved terminal display

  • Score: track wins/losses

  • Input: validation for invalid moves

About

This repository represents some projects of c language .

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors