March 2002
Beginner
560 pages
12h 14m
English
A just machine to make big decisions
Programmed by fellows with compassion and vision…
—Donald Fagen, “IGY” (The Nightfly, 1982)
Today, just as on Day 16, there is no single organizing topic, and there are no exercises; rather, we practice our Ruby skills by walking together through two projects.
The first project is an exploration of rudimentary artificial intelligence. We write a script that takes advantage of past “experience,” asks the user some questions about the current situation, and makes a decision—or more precisely, makes a prediction on which the user can base a decision.
The second project grows out of the discussion on Day 19 about online chat facilities. We had a pair of scripts that allowed ...
Read now
Unlock full access