add game-over and game-win code
add hit-ceckinh code