Skip to content

dhotrey/quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz

A quiz system implemented in go.

todo

Features yet to be added

  • Add support for setting quiz timers
  • Add support to read questions from google sheets
  • Add keybind hints (eg keybinds to end test completely , keybinds to skip questions and so on)
  • Add support for per question time using tickers , display using progress bars
  • Add support to generate quiz reports.
  • Add support for client server model with auth so people can authenticate with the server and then get questions from the server and also marks are sent back to the server securely
  • implement auto generated gifs in the README using VHS
  • Testing
    • Add unit tests for json validator
    • implement integration testing using VHS
Done

Implemented Features

  • Add support to supply individual question marks , negative marks and different/custom marking schemes.
  • Add support to skip questions entirely
  • Add a UI using charm ecosystem (bubbles ,bubbletea , huh, lipgloss)
  • Add option to shuffle questions.
  • refactor again
  • Migrate to cobra instead of flags for arguments.
  • finish adding support for file schema validators (CSV)
  • Add support for JSON question format/schema to support MCQ questions
    • only one answer correct schema
    • Multiple correct answers schema
  • Add support for generate command to generate boilerplate for inputting questions
  • add example flag to the generate command that generates a valid example.json of 5 questions
  • implement the json validator
  • remove support for CSV based questions , completely migrate to json based question format

Installation

Make sure you have go installed

Clone the repo

git clone https://github.com/theredditbandit/quiz.git

Navigate into the cloned directory

cd quiz

Download the dependencies

go mod install

Compile the binary

go build .

Or install system wide using

go install 

Pictures

image

image

image

About

A quiz system implemented in go

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors