Flash Cards

Flash Cards

flashCards.rb

Flash cards have been the savior of many a cramming student. They can be used to memorize historical dates, vocabulary words, foreign languages, and virtually anything else worth remembering. If you've never encountered flash cards before, I'll give you a quick run down. Traditionally, flash cards are made using both sides of a three-by-five index card. You write a question on the front of the index card and the answer to that question on the back. Then you can test yourself to ace whatever you're studying. This script could be tweaked for either a game (think Jeopardy!) or learning tool, but we'll focus on the latter option. The script will prompt you for a question, and you must provide the right answer, or ...

Get Wicked Cool Ruby Scripts now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.