I. 140. Prepare a program to simulate falling characters on the screen. Your program should read the initial state from a file and print this text on the screen. Then in every tenth of a second a random character should be chosen and moved one line below, replacing the original position of the letter with a space. A letter can not fall further down if there is a non-space character just below it or if it hit the bottom of the screen.
The name of the input file is i140.txt. The file contains 25 lines, each line has 80 characters containing only letters, spaces or numerals.
The simulation ends when no more characters can fall. Your program then should print the message ``Every character has fallen off'' in the upper left corner and wait for Enter to be pressed.
The source code (i140.pas, i140.cpp, ...) should be submitted.
Deadline expired on 15 November 2006.