Home > RPCFN12

RPCFN12

RPCFN12 is a project mainly written in Ruby, it's free.

RPCFN12

RPCFN: Cycle Tracks (#12)

RPCFN#12 was created by David Griffiths

This challenge has two parts.

1st: Ruby Magnets

Could you replace the magnets and rebuild the code?

If you have Shoes, try to confirm your solution with Ruby Magnets on Shoes. :)

2nd: Exercise

Write your own version of the skip_tracks() method.

Remember: Shorter code is the winner in this competition. ;-)

List of code length

Ruby 1.8.7 or 1.9.1

12 Cary Swoveland    : 61
11 Viktor Nemes      : 70
05 Sebastian Rabuini : 72
01 Alex Chateau      : 73
04 Dmytrii Nagirniak : 92
08 JulioC Villasante : 133
10 Benoit Daloze     : 161
99 ashbb             : 49

03 Kirill Shchepelin : 50 ***
09 Paul McKibbin     : 68 ***

***: Need to be improved to pass all unit tests.

Ruby 1.9.2 only

01 Alex Chateau      : 35
Previous:TDD