https://github.com/iamber12/math-quiz-game
https://github.com/iamber12/math-quiz-game
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iamber12/math-quiz-game
- Owner: iamber12
- Created: 2024-04-20T23:09:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-20T23:19:13.000Z (about 1 year ago)
- Last Synced: 2025-02-15T23:25:21.654Z (4 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Quiz Application
This application conducts a timed quiz using questions from a CSV file, displaying results on completion.
## Features
- Load questions and answers from CSV.
- Timed challenge with customizable duration.
- Command-line based interaction.## Installation
```bash
git clone https://github.com/iamber12/quiz-game
cd quiz-app
go build
```## Usage
Execute the quiz application:```bash
./quiz-app -f path/to/your/csvfile.csv -t timeout_in_seconds
```### Options
- `-f`: Path to the CSV file with questions (default: `problems.csv`).
- `-t`: Quiz duration in seconds (default: 30).### CSV Format
The CSV file should have no header and be formatted as:
```
question1,answer1
question2,answer2
```## Example
To start a 30-second quiz:
```bash
./quiz-app -f my_questions.csv -t 30
```