/simple-quiz

Simple command line quiz game to practice using go

Primary LanguageGo

simple-quiz

Simple command line quiz game to practice using go.

To Build

Use go build to build

To Run

To run the quiz, use ./simple-quiz

Optional flags

  • csv - Input a filename for the questions and answers. Use the format question,answer per line
  • limit - Number of seconds for a time limit to complete the quiz. Omit if you don't want a time limit

Example: ./simple-quiz -csv="questions.csv" -limit=10

Based on the exercises on Gophercises