Skip to content

The mini projects like in python repo but convert to C for learning

Notifications You must be signed in to change notification settings

mhdthariq/CMiniProjects

Repository files navigation

CMiniProjects

Welcome to CMiniProjects – a repository dedicated to learning C programming through small, fun, and practical projects. This repository is designed to help beginners understand core C concepts by building mini-projects that demonstrate programming techniques, logic, and problem-solving skills.

Projects

1. Quiz Game

  • Description: A simple console-based quiz game that tests the user's knowledge with basic computer-related questions.
  • Concepts Learned:
    • User input handling
    • String comparison
    • Conditional statements and loops

2. Number Guessing Game

  • Description: A number guessing game where the user attempts to guess a randomly generated number within a specified range.
  • Concepts Learned:
    • Random number generation
    • Loop control
    • User input validation

3. Rock Paper Scissors Game

  • Description: A simple console-based Rock Paper Scissors game where the player competes against the computer.
  • Concepts Learned:
    • User input handling
    • Random number generation
    • Conditional statements and loops
    • String comparison and basic functions

4. Adventure Game

  • Description: A text-based adventure game where the player makes choices that shape the outcome of the game.
  • Concepts Learned:
    • User input handling
    • Conditional branching
    • String comparison
    • Basic game logic

How to Run the Projects

  1. Clone the repository:
    git clone https://github.com/mhdthariq/CMiniProjects.git
  2. Navigate to the project folder:
    cd CMiniProjects
  3. Compile the C file:
    gcc project_name.c -o project_name
  4. Run the compiled executable:
    ./project_name

Prerequisites

  • C Compiler: Ensure you have GCC or any other C compiler installed.
  • Basic Knowledge of C: A foundational understanding of C programming will help you make the most out of these projects.

Acknowledgments

  • Inspired by various beginner-level C projects.
  • Special thanks to the C programming community for their continuous support and resources.

About

The mini projects like in python repo but convert to C for learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages