Sample code for "A Game of Darts" tutorial