Skip to content

rtreffler/flashcards

Repository files navigation

What is this?

Project I did as a part of Hyperskill course Kotlin Basics.

It's a simple flashcards program with ability to import and export data.

File has the following format:

  • file is plain text
  • each flashcard is in separate line
  • flashcard consists of:
    • error count - an integer
    • term - a string
    • definition - a string
  • each flashcard's part is separated by ->, that is:
    • a space,
    • a minus sign,
    • a right triangle bracket
    • a space

Example file:

 -> London -> capital of England
0 -> Warsaw -> capital of Poland
2 -> Dhaka -> capital of Bangladesh

It implements Strategy pattern to handle different commands by separate command implementations.

How to run

When imported into IntelliJ IDEA it should just work. If not, Build -> Rebuild project.

Comment

Any comments, pull requests, issue tickets appreciated. I'm particularly interested in build improvement and tests.

About

Simple flashcards project, learning with @hyperskill

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages