An educational Android quiz game project
Follow these steps to set up and run the project on your local machine.
git clone <repository_url>
Replace <repository_url>
with the URL of your Git repository.
Unity Hub > Add > Add Project from Disk > <Select the directory>
File > Build Settings > Platform (Android) > Switch Platform
If you'd like to contribute to the project, please follow these steps:
git clone <repository_url>
Replace <repository_url>
with the URL of the Git repository.
git checkout -b <branch_name>
Replace <branch_name>
with the name of your new branch.
git add .
This command stages all changes. You can also specify individual files to stage.
git commit -m "Brief description of your changes"
git push origin <branch_name>
Replace <branch_name>
with the name of your branch.
git checkout main
git pull origin main
Replace main
with the name of your main branch if it's different.
git branch -d <branch_name>
Replace <branch_name>
with the name of your branch.
Go to /Assets/Resources/Single Player Quiz
for accessing the questions for each topic. Here is the list of the topics provided:
You may also access the question class at /Assets/Scripts/Classes/PlayQuestion.cs
.
In addition, this is the properties a question have:
public string questionText;
public Sprite questionImage;
public string[] answers;
public int correctAnswerIndex;