/battleroom

A REPL designed to help novice Ruby programmers build muscle memory for working with variables, manipulating data structures, and defining and invoking methods

Primary LanguageRuby

build_badge Code Climate Coverage Status Gem Version

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:

  1. Clone the repo down
  2. cd into the battleroom directory
  3. run bundle install
  4. run ruby lib/battleroom.rb

===

Contribute!

  1. Fork this project
  2. Create a feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a pull request

===

Created by Your Friend Travis