Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicolas-sabbatini/rust-quiz-game
This is the implementation of the frist exercise of the Gophercises course in Rust
https://github.com/nicolas-sabbatini/rust-quiz-game
cli gophercises quiz-game rust rust-lang
Last synced: 25 days ago
JSON representation
This is the implementation of the frist exercise of the Gophercises course in Rust
- Host: GitHub
- URL: https://github.com/nicolas-sabbatini/rust-quiz-game
- Owner: nicolas-sabbatini
- Created: 2023-10-10T00:09:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T21:51:24.000Z (over 1 year ago)
- Last Synced: 2024-11-28T18:08:32.921Z (3 months ago)
- Topics: cli, gophercises, quiz-game, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Quiz Game
## Description
This is the implementation of the frist exercise of the [Gophercises](https://gophercises.com/) course.
It is a simple quiz game that reads a CSV file with questions and answers and asks the user to answer them.
The CSV must contain the limit for the quiz in the first row (see [example quiz](input/test-1.csv)).
The quiz is over when the time limit is reached or when the user answers all the questions.
At the end of the quiz the user can see how many questions he answered correctly.## Usage
```bash
cargo run
```
or
```bash
cargo run -- -c input/test-2.csv
```