Implement game over on win and lose.

R=alancutter@chromium.org

Review URL: https://codereview.appspot.com/51550044