Worked Example: Number Guessing Game
Updated: 2012-04-30 05:48:53
If you were like me, your eyes would just glaze over when reading programming books. "OK," you'd say, "but how is that useful?" This article is the first in a series of "worked examples," articles that feature working example programs and explain the Ruby features that make it tick. It starts off simple, with a number guessing game (that I'm sure many if you have already written if you've learned other programming languages).