added score counter in a console.log