function addNewPlayer() {
if (players.includes(inputAdd.value)) {
return;
}
players.push(inputAdd.value);
inputAdd.value = '';
renderNewPlayer();
}
function renderNewPlayer() {
playersList.insertAdjacentHTML('beforeEnd', `<li>${players[players.length - 1]}</li>`);
}