I would rather loop through the log file instead of hardcoding the lines.

See also Readline problem
_________________________
There are two types of vessels, submarines and targets.