Nearly acheived required funtionality.  Buttons almost work and game almost ends properly.