Skip to content

Commit

Permalink
this is only testing value, will change it later
Browse files Browse the repository at this point in the history
  • Loading branch information
kenvilar committed Dec 3, 2017
1 parent c855942 commit 6e374b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ document.querySelector('.btn-hold').addEventListener('click', function () {
document.querySelector('#score-' + activePlayer).textContent = scores[activePlayer - 1];

//Check if the player won the game
if (scores[activePlayer - 1] >= 100) {
if (scores[activePlayer - 1] >= 10) {
//id="name-1"
document.querySelector('#name-' + activePlayer).textContent = 'WINNER!';

Expand Down

0 comments on commit 6e374b4

Please sign in to comment.