Skip to content

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

Packages

Contributors

Languages