Ruby

This is the archived website of SI 413 from the Fall 2012 semester. Feel free to browse around; you may also find more recent offerings at my teaching page.

Created by Yukihiro Matsumoto in 1995. Part scripting language, part object-oriented, part functional, Ruby is a modern language with something to offer to everyone. It is in interpreted language (interpreter written in C) and has a significant standard library.

Useful Links

How I will run your code

Save your program in a file called proj.rb.

I will test your code in the same environment as the lab machines in MI 302, using the commands

  /usr/bin/ruby proj.rb

Phase 1 Requirements

For this language, you need to implement modifications A, B, C, D, F, G, H, and I. See the Phase 1 page for details on what this means.

Phase 2

See the Phase 2 Page for the list of suggested problems. Of the ones listed, I recommend the following as being most well-suited for ruby:

  1. Matrix Calculator
  2. Image Creator
  3. Game Scheduler
  4. TODO list
  5. Game with hidden agenda
  6. Guess the language
  7. Find the missing digits
  8. ??? (you choose!)