ch8n / BBK-1-JetQuiz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Big Brain Kotlin : Application #1 - JetQuiz

Sample application build for teaching basics of kotlin for Big-Brain-Kotlin Book

Features

  • Name the colours correctly
    • Correct guess +1 score and wrong guess - 0.5 score
  • When Score Reaches Zero Game Over
  • Game Randomizes Each level
  • Leaderboard With Max Score

Android Apis Used :

  • Constraint Layout
  • Card Views
  • Glide Image loading library - gifs & images
  • Jetpack View-binding
  • Activity
  • Intents
  • Shared Preferences
  • Android Lifecycle - create, resume, destroy
  • Android assets - images
  • Count Down timer API
  • Alert Dialog API
  • UI Components :
    • Buttons + Click Listeners
    • Images
    • Text
    • Edit Fields

Kotlin Apis Used :

  • Language Primitives :
    • val/var & lateinit variable
    • generic functions
    • nullable fields & handling
    • object class
    • if/else, when
    • generic Classes + Inheritance
  • Data Class
  • Delegates - lazy
  • Collections API & functions
    • List -> shuffle, take, forEach , forEachIndexed

Programming Pattern used :

  • Observer Pattern

đź‘® License

Shield: CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

About


Languages

Language:Kotlin 100.0%