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.
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
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
Compile using GCC:
gcc number_guessing.c -o number_guessing
gcc tic_tac_toe.c -o tic_tac_toe