Bug Buster is an implementation of a shape recognition exercise for ASCII art shapes.
Given a bug specification
| |
###O
| |
the program should be able to spot three bugs in this landscape:
| |
###O
| | | |
###O
| | | |
###O
| |
Whitespaces are not part of the bug specification, hence these fields could contain other symbols in more complicated landscapes.
$ python main.py test-res/bug.txt test-res/landscape.txt
3
$ python tests.py
The task solved by Bug Buster is similar to Bliffoscope, which seems to be sort of an developer job interview exercise.