This weeks dojo should start to push you a little harder and you may need more than the hour to complete all the challenges. Along the way you will be introduced to Scala's Lists and functions, these two pages are good starts on the subject;
- Lists - http://twitter.github.com/scala_school/collections.html
- Functions - http://www.scala-lang.org/node/133
There are 8 tests that you will need to go green, plus a bonus one at the end for 2 additional points. This week the tests are not exhaustive and so a certain amount of good sport is expected and as such points will be deducted for implementations that are not in the spirit of the game, for example hard coding return values. You'll also find some tests offer bonus points for implementing them in a particular way. The skeleton maven project I have created for the dojo can be found here on github, as last time you should not change the existing tests, but feel free to add new ones along the way.
To get started you can go to the repo and fork the project into your own github repository by clicking the fork button on the top right. This is the preferred method as it means we can easily share our solutions with each other but if you don't wish to do this you can create a local copy from my repository by simply executing the git clone command.
- go to https://github.com/leneghan/scala_dojo_02_funswithlists
- click fork button on the top right of the screen
- git clone https://github.com/<GIT_HUB_NAME>/scala_dojo_02_funswithlists.git
If you dont have git currently installed you can download it here from the git website. When using Git I found this one page cheat sheet useful, it also comes with some pointers about good VCS practice, Git_Cheat_Sheet_grey.pdf