This inaugural dojo challenge should ease you into Scala gently, with the solution only requiring you to write about 6 lines of code. On the way you'll get Scala and Git running on your machine, hopefully set up a GitHub account, started to become familiar with the Scala syntax, patten matching and the ScalaTest framework.
Go here to see an overiew of this series of Scala dojos
Go here to see an overiew of this series of Scala dojos
This problem involves completing the implementation of the MailBox.scala class, with the rules of how it should respond to different messages expressed in the tests. There is one rule in Dojo Club, get the tests to go green. The skeleton maven project I have created for the dojo can be found here on github. Though you should not change the existing tests feel free to add new tests along the way.
To get started you can fork the project into your own github repository, this is the preferred method as it means we can easily share our solutions with each other. If you don't wish to do this you can create a local copy from my repository by simply executing the following command.
git clone https://github.com/leneghan/scala_dojo.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