Strip Rock Paper Scissors Ghost Edition Pc

function playGame(userChoice) { const choices = ["rock", "paper", "scissors"]; const computerChoice = choices[Math.floor(Math.random() * choices.length)];

if (userChoice === computerChoice) { return "It's a tie!"; } strip rock paper scissors ghost edition pc

console.log(`You chose ${userChoice}, computer chose ${computerChoice}.`); } console.log(`You chose ${userChoice}

strip rock paper scissors ghost edition pc

Zonn

Администрация

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *