The Battleroom Gem
Battleroom is a training program designed to give novice Ruby programmers countless reps working with variables, manipulating data structures, and defining and invoking methods. Special attention has been paid to catching and providing plain English explanations for common Ruby exceptions (think NoMethodError
, NameError
, ArgumentError
, and so on). The program also introduces novice programmers to semantic naming, proper Ruby indentation, and a number of conventions they will encounter in Ruby frameworks like Sinatra and Rails.
The program takes its name from the Battle Room in Ender's Game, to which students of Battle School go to train.
===
Installation
For the production version:
gem install battleroom
# launches battleroom
battleroom
For the development version:
- Clone the repo down
- cd into the
battleroom
directory - run
bundle install
- run
ruby lib/battleroom.rb
===
Contribute!
- Fork this project
- Create a feature branch (
git checkout -b my-new-feature
) - Write tests!
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a pull request
===
Created by Your Friend Travis