write gameover, fix #12