Skip to content

Max-Planxk/mini-c-projects

Repository files navigation

Mini C Projects 🧩

A collection of beginner-friendly C programs created to improve problem-solving skills and core C programming concepts.

This repository focuses on writing clean, simple, and understandable C code through small projects.


📌 Projects

1️⃣ Number Guessing Game

A console-based game where the computer generates a random number and the player tries to guess it.

Concepts used:

  • Random number generation
  • Loops
  • Conditional statements
  • User input handling

File:

  • number_guessing.c

2️⃣ Tic Tac Toe

A two-player console-based Tic Tac Toe game played in the terminal.

Concepts used:

  • 2D arrays
  • Functions
  • Game loop logic
  • Win and draw conditions
  • Input validation

File:

  • tic_tac_toe.c

🛠 How to Run

Compile using GCC:

gcc number_guessing.c -o number_guessing
gcc tic_tac_toe.c -o tic_tac_toe

About

a collection of mini c projects for logic building

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors