Skip to content

Basically this is a repo for newbie to contribute in this quiz game using is simple and made using c language .

License

Notifications You must be signed in to change notification settings

NishanNepali/opensource-quiz-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open-Source Quiz Game in C

Welcome to the open-source quiz game in C! This project aims to create a fun and educational quiz game that anyone can contribute to by adding new questions.

Getting Started

Prerequisites

  • C compiler (e.g., GCC)
  • Basic knowledge of C programming

Installation

  1. Clone the repository:
    git clone https://github.com/nishannepali/quiz-game-c.git
    cd quiz-game-c
    
    Compile the game:
    

sh

gcc quiz.c -o quiz

Run the game:

sh

./quiz

How to Contribute

We welcome contributions from the community! To add new questions to the quiz game, follow these steps:

Fork the repository on GitHub.

Clone your forked repository:

sh

git clone https://github.com/nishannepali/quiz-game-c.git

Navigate to the questions directory.

Create a new text file for your question. You can follow the template below:

plaintext

Question: What is the capital of France? Answer: Paris

Save your question file with a descriptive name, e.g., question_france.txt.

Make sure the file is saved in UTF-8 encoding.

Commit your changes and push them to your forked repository:

sh

git add .
git commit -m "Add a new question about France"
git push

Create a pull request on the original repository. We'll review your contribution and merge it if it meets our guidelines.

Guidelines for Adding Questions

Keep questions and answers accurate and relevant.
Avoid offensive or inappropriate content.
Use UTF-8 encoding for text files.
Each question and answer should be on a separate line.

License

This project is open-source and available under the MIT License. Contact

If you have questions or need assistance, feel free to open an issue on GitHub.

Happy quizzing, and thank you for contributing to this open-source project!

This README file provides an overview of your open-source quiz game project, instructions on how to contribute new questions, and guidelines for adding questions. It's important to specify licensing information, prerequisites, and contact information for contributors. Feel free to modify and expand this template to suit your project's specific needs.

About

Basically this is a repo for newbie to contribute in this quiz game using is simple and made using c language .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages