function addWin() {
    // current score from document
    let score = document.querySelector('.thisUser .score span').innerHTML

    socket.emit('win', {
        user: user,
        room: room,
        score: score
    })
}
// ------------------------------------------------------- add a win to live users score
add a win to live users score
add a win to live users score
function addWin() {
    let score = document.querySelector('.thisUser .score span').innerHTML
    socket.emit('win', {
        user: user,
        room: room,
        score: score
    })
}
function addWin ( ) { let score = document . querySelector ( '.thisUser .score span' ) . innerHTML socket . emit ( 'win' , { user : user , room : room , score : score } ) }
add a win to live users score
add a win to live users score
// current score from document