refactoring. judgement of game end, and refactor to delegate method.
design changed. input button -> input image.
implementation. remove from the old.
refactoring. remove from the old.