<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Rock Paper Scissors</title>
    <style>
        /* CSS styles */
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin-top: 50px;
        }
        h1 {
            color: #333;
        }
        .choices {
            margin: 20px;
        }
        .choice {
            display: inline-block;
            margin: 0 10px;
            cursor: pointer;
            font-size: 18px;
            padding: 10px 20px;
            border: 2px solid #333;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
        }
        .choice:hover {
            background-color: #333;
            color: #fff;
        }
        .result {
            font-size: 24px;
            margin-top: 30px;
            color: #555;
        }
        .score {
            margin-top: 20px;
            font-size: 18px;
        }
        .score span {
            font-weight: bold;
        }
        .reset-btn {
            margin-top: 30px;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            border: none;
            background-color: #f44336;
            color: #fff;
            border-radius: 5px;
        }
        .reset-btn:hover {
            background-color: #d32f2f;
        }
    </style>
</head>
<body>

    <h1>Rock Paper Scissors</h1>
    
    <div class="choices">
        <div class="choice" data-choice="rock">✊ Rock</div>
        <div class="choice" data-choice="paper">✋ Paper</div>
        <div class="choice" data-choice="scissors">✌️ Scissors</div>
    </div>

    <div class="result" id="result">Make your move!</div>
    <div class="score" id="score">
        Player Score: <span id="player-score">0</span> | Computer Score: <span id="computer-score">0</span>
    </div>
    <button class="reset-btn" id="reset-btn">Reset Game</button>

    <script>
        // JavaScript code
        const choices = document.querySelectorAll('.choice');
        const resultDiv = document.getElementById('result');
        const playerScoreSpan = document.getElementById('player-score');
        const computerScoreSpan = document.getElementById('computer-score');
        const resetBtn = document.getElementById('reset-btn');

        const choicesArray = ['rock', 'paper', 'scissors'];
        let playerScore = 0;
        let computerScore = 0;

        choices.forEach(choice => {
            choice.addEventListener('click', () => {
                const playerChoice = choice.getAttribute('data-choice');
                const computerChoice = getComputerChoice();
                const result = determineWinner(playerChoice, computerChoice);
                updateScore(result);
                displayResult(playerChoice, computerChoice, result);
            });
        });

        resetBtn.addEventListener('click', resetGame);

        function getComputerChoice() {
            return choicesArray[Math.floor(Math.random() * 3)];
        }

        function determineWinner(player, computer) {
            if (player === computer) {
                return 'It\'s a tie!';
            } else if (
                (player === 'rock' && computer === 'scissors') ||
                (player === 'paper' && computer === 'rock') ||
                (player === 'scissors' && computer === 'paper')
            ) {
                return 'You win!';
            } else {
                return 'You lose!';
            }
        }

        function updateScore(result) {
            if (result === 'You win!') {
                playerScore++;
                playerScoreSpan.textContent = playerScore;
            } else if (result === 'You lose!') {
                computerScore++;
                computerScoreSpan.textContent = computerScore;
            }
        }

        function displayResult(playerChoice, computerChoice, result) {
            resultDiv.innerHTML = `
                You chose <strong>${capitalize(playerChoice)}</strong>.<br>
                The computer chose <strong>${capitalize(computerChoice)}</strong>.<br><br>
                <strong>${result}</strong>
            `;
        }

        function capitalize(word) {
            return word.charAt(0).toUpperCase() + word.slice(1);
        }

        function resetGame() {
            playerScore = 0;
            computerScore = 0;
            playerScoreSpan.textContent = playerScore;
            computerScoreSpan.textContent = computerScore;
            resultDiv.textContent = 'Make your move!';
        }
    </script>

</body>
</html> make this more modern, with animations and nice colors and other modern things.