SSC 1, 2011/2012 - Streams Exercise

Stream programming excercise: Buzzword Bingo

This exercise is unassessed.

Buzzword Bingo is a game in which two players compete to find text that is full of buzzwords. (Inspired by the inventor of the internet, not to mention Algoreithms, Al Gore.) You can choose your own list of buzzwords, or use the sample buzzword file provided. Note that a buzzword can contain spaces. Each line counts as one buzzword.

Each player supplies an URL of a web page they choose. The program then connects to the URL and scans the web page for the keywords from the buzzword file. Every time the program finds an occurrence of one of those buzzwords, a score is updated and at the end, the player with the highest score wins.

To make it even easier, here are some example steps which would be necessary for creating this program: