Gaming ladder based script in Rails (First Ruby on Rails project.)