Skip to content

yttiiz/guess_what

Repository files navigation

favicon Quiz Game

This desktop application is my fist project using Kotlin and its ecosystem. It's a simple quiz game to check anybody knowledge on a particular subject.

Scenario

  1. First user have to sign in
  2. Then answer the questions
  3. Finally, his score will be displayed with an appreciation

Specifications

The application configuration is define in the build.gradle.kts file.

How does it works ?

First of all, you have to install a MongoDB tool on your machine.

After your DB configuration, you have to create a .env file, to set your environnement variables. Check the .env.sample file to identify the necessary keys you have to set :

MONGODB_USERNAME=
MONGODB_PASSWORD=
MONGODB_HOST=
DATA_HOST=

Then, you have to create a database and a collection where documents looks like this type :

data class QuestionItems(
    val title: String,
    val propositions: List<String>
)
data class Question(
    val _id: ObjectId,
    val question: QuestionItems,
    val correction: String
)

Recommendation

It's highly recommended to use IntelliJ IDE for better user experience.

Is the app has tests ?

Not yet but coming asap.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages