Skip to content

Instantly share code, notes, and snippets.

@kahilkubilay
Created December 27, 2019 09:46
Show Gist options
  • Save kahilkubilay/b7d84a9d616235ac6031bcd1669633ed to your computer and use it in GitHub Desktop.
Save kahilkubilay/b7d84a9d616235ac6031bcd1669633ed to your computer and use it in GitHub Desktop.
Javascript İle Oyun Yapımı: Skor Tablosu
if(parseInt(ball.style.left) + 16 >= window.innerWidth){
scoreLeft++;
document.getElementById('scoreLeft').innerHTML = scoreLeft;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment