add 'when game is won/lost' block.