Skip to content

Commit

Permalink
Copied the description of how to work with the project
Browse files Browse the repository at this point in the history
  • Loading branch information
svtk committed Apr 22, 2016
1 parent 5fe13c3 commit ff11e67
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,24 @@ Each exercise is created as a failing unit test and your job is to make it pass.
Open up the project in IntelliJ IDEA or your favorite editor.
Run 'All tests' and fix them.

The repository has two branches, master which contains the exercises for you to do and resolutions which contains the resolved exercises.
#### How to work with Koans using this project

You have 42 tasks to do.
Each task lives in its function: from `task0` to `task41`.

You regularly have to change the function `taskN` by replacing its body (which starts out as the function invocation `todoTaskN()`), with the correct code according to the problem.
The function `todoTaskN()` throws an exception, so you have to replace that invocation with meaningful code.

Using `documentation` argument you can open the related part of Kotlin online documentation.
Press `F1` (Quick Documentation) on `docN()`, then "See also" section gives you a link.

Using `references` argument you can usually navigate and see the code mentioned in the task description.

The repository has two branches, `master` which contains the exercises for you to do and `resolutions` which contains the resolved exercises.
Make sure you don’t cheat!

#### Other ways to solve Koans

Note that you can solve the similar tasks using Educational Plugin or online:

- Educational Plugin https://blog.jetbrains.com/kotlin/2016/03/kotlin-educational-plugin
Expand Down

0 comments on commit ff11e67

Please sign in to comment.