Project

Flashcards (Kotlin)

Hard
711 completions
~ 23 hours
4.2

In this project, you will learn how to work with files and call them from the command line.

Provided by

JetBrains Academy JetBrains Academy

About

When learning a new language, it can be hard to remember all the new vocabulary, which is exactly where flashcards can help. Typically, flashcards show a hint (a task or a picture) on one side and the right answer on the other. Flashcards can be used to remember any sort of data, so if you want to create a useful tool to help your learning and your programming skills, this project is for you.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Compare the lines and work with conditions: display the card and the user’s answer on the screen
Practice lists and loops: create a new card for the program to play with you.
Learn to use hashtables, display key values and work with exceptions in order to fix the problem of repeating cards.
Work with files: create a menu that allows to add, delete, save and upload saved cards in your game.
Using statistics, set a correct answer for each card and teach the game to determine which card was the hardest to solve
Enable the user to import files right upon starting the game, working with command-line arguments.

Reviews

Marc Smith
5 months ago
I learned and gained more experience with reading from and writing to files, developing a logging system, and using singletons. It is also interesting to consider ways to refactor your code as the requirements of the project evolve.
Frederik Salmen
5 months ago
I have learnt how to work with input arguments and deal with files: reading and writing them, and transforming their content into a usable data structure.
User 622941576 avatar
User 622941576
11 months ago
I liked how the project slowly escalated from the simplest of basics to topics that are easy to mess up. And the different stages of the project made me code with the consideration that I might refactor it later, so not to make it too rigid, and make it flexible, it also showed me how some Kotlin's ...

4.2

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.3
Fun
4.2
Clarity
4.1