Ruby Quiz Solutions
Quiz 7: Countdown
For a description see: Countdown quiz description
Find optimal solutions for the countdown game.
This was quite an interesting quiz. I tried different solutions of varying complexity, but it turned out that the simplest approach worked best.
For more information see Countdown Solutions
Try it with a random setting
Calculate for Target: 410, Source: [6, 10, 7, 7, 100, 75]
Quiz 8: Object Browser
For a description see: Object Browser quiz description
Browse live Ruby Objects.
Another interesting quiz, also it turned out that it is inherently simple, but producing a good gui takes a lot of time.
I implemented a ruby/gnome2 version that is quite usable and may be helpfull when debugging. See the object browser solution.
Quiz 9: Banned Words
For a description see: Banned Words quiz description
Analyze an eMail filter.
A shorter quiz, but this did not make me spend less time on it. I need every excuse not to learn for my exams that I can get :(.
Here you go: banned words solution
Quiz 10: Crossword layout
For a description see: Crossword Words quiz description
Pretty print a crossword layout.
Here you go: Crossword solution
Quiz 11: Tic Tac Toe
For a description see: Tic Tac Toe quiz description
Learn how to play tic tac toe.
Here you go: Tic Tac Toe solution
Quiz 20: 1-800-THE-QUIZ
For a description see: 1-800-THE-QUIZ quiz description
Find words that match a phone number.
Here you go: 1-800-THE-QUIZ solution
Quiz 21: Phonetyping
For a description see: Phonetyping quiz description
Input text using only 12 keys.
Here you go: phonetyping solution
Quiz 22: Roman Numerals
For a description see: Roman Numerals description
Convert numbers from and to roman numerals.
Here you go: roman numerals solution
Quiz 27: Knights Travail
For a description see: Knights Travail description
Dijkstras shortest path algorithm.
Here you go: Knights Travail solution
Quiz 30: Barrel of Monkeys
For a description see: Barrel of monkeys description
Find a continuous songlist. The same game with animals is also very frequently met on highways in cars with children.
Find it here: Barrel of monkeys
Quiz 31: Amazing Mazes
For a description see: Amazing Mazes description
Create a maze and find paths in this maze.
Find it here: Amazing Mazes
Quiz 32: Cows and Bulls
For a description see: Cows and Bulls description
Implement the game of cows and bulls.
Find it here: Cows and Bulls
Quiz 40: Heap Visualization
For a description see: Heap Visualization Description
Visualize a heap in good old ascii art.
Find it here: Heap Visualization
Quiz 49: Lisp Game
For a description see: Lisp Game Description
Rewrite a lisp text adventure in ruby.
Find it here: Lisp Game
Quiz 50: Text Image
For a description see: Text Image Description
Convert images to ascii art.
Find it here: Asciiview