Last active
August 29, 2015 14:16
-
-
Save annawinkler/1a9ef245cef75c86b1aa to your computer and use it in GitHub Desktop.
Ruby Workshop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Want to learn more? | |
* The Ruby website https://www.ruby-lang.org/en/ | |
* Ruby gems (libraries) https://rubygems.org/ | |
* Ruby Documentation http://ruby-doc.org/ | |
* Article Ruby Gems for Command-Line Apps: http://www.awesomecommandlineapps.com/gems.html | |
Online Learning | |
* Code Academy Ruby - http://www.codecademy.com/en/tracks/ruby | |
* Programming Ruby - http://ruby-doc.com/docs/ProgrammingRuby/ | |
* Ruby Monk tutorials - https://rubymonk.com/ | |
* Why's Poignant Guide to Ruby - http://mislav.uniqpath.com/poignant-guide/ | |
Books | |
There are many books available. Here are just a few that I've enjoyed. | |
* The classic "pickaxe" book - Programming Ruby by Dave Thomas (http://tinyurl.com/l2vj66y) | |
* Headfirst Ruby by Jay McGavren (http://tinyurl.com/psmbgzu) | |
* Practical OO Design in Ruby by Sandi Metz (http://tinyurl.com/qzl36ft) | |
Text Adventure Games | |
* Text adventure games started in the 1970s with Colossal Cave Aventure. Read more about that here http://en.wikipedia.org/wiki/Colossal_Cave_Adventure | |
* How To Make Your Own Text Adventure On A Computer - http://www.bluzeandmuse.com/final_site/how_to.html | |
We just started, and this page has so much more you can use to make a full-blown adventure game. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Ruby | |
## Windows | |
Use the RubyInstaller - http://rubyinstaller.org/downloads/ | |
## Mac | |
I prefer using rbenv to manage Ruby versions on my computer. To install rbenv, you'll first need git. | |
Once you have that, you can follow the instructions here: | |
https://github.com/sstephenson/rbenv#installation | |
When you're ready to install Ruby you can type: | |
rbenv install ruby-2.2.0 | |
# Text editors | |
Editors are personal choices. I recommend trying a few before you pick one. Some popular editors are: | |
* Textmate (http://macromates.com/) | |
* Sublime Text (http://www.sublimetext.com/) | |
* atom.io (https://atom.io/) | |
# Outline | |
1. irb | |
2. Output: puts, print | |
2. Input: gets; Encapsulation (methods), Calling methods | |
3. Control flow - if / case | |
4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment