can you implement the demo output using the original index2.html; demo output Game Details
Disk: hello.dsk

Command: print"hello"

original render output (index2.html)

<!DOCTYPE html>
<html>
<head>
    <title>Amstrad Game Execution</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f0f0f0;
        }
        .output-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="output-container" id="gameInfo">
        <!-- Game info will be populated by JavaScript -->
    </div>
    <script>
        function getQueryParams() {
            var params = {};
            var pairs = window.location.search.substring(1).split("&");
            for (var i = 0; i < pairs.length; i++) {
                var parts = pairs[i].split("=");
                if (parts.length === 2) {
                    params[parts[0]] = decodeURIComponent(parts[1].replace(/\+/g, " "));
                }
            }
            return params;
        }

        function displayGameInfo() {
            // Get the parameters from the URL
            var params = getQueryParams();
            var param1 = params['param1'] || 'hello.dsk';
            var param2 = params['param2'] || 'print"hello"';

            // Get the element with the ID 'gameInfo' and set the inner HTML
            var gameInfoDiv = document.getElementById('gameInfo');
            gameInfoDiv.innerHTML = `
                <h2>Game Details</h2>
                <p>Disk: ${param1}</p>
                <p>Command: ${param2}</p>
            `;
        }

        // Execute the displayGameInfo function after the page loads
        displayGameInfo();
    </script>
</body>
</html>

(index.html)

<!DOCTYPE html>
<html>
<head>
    <title>Amstrad Game Selector</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f0f0f0;
        }
        .input-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        input, button {
            display: block;
            width: 100%;
            margin: 10px 0;
            padding: 10px;
            box-sizing: border-box;
        }
        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <div class="input-container">
        <h2>Enter Amstrad Game Command</h2>
        <input type="text" id="customInput" placeholder="Enter custom command (e.g., run&quot;yourgame)">
        <button onclick="startGame()">Start Game</button>
    </div>
    <script>
        function startGame() {
            var customInput = document.getElementById('customInput');
            var param1 = 'hello.dsk';
            var param2 = customInput.value || 'run"bomber';  // Default to Bomber if nothing is entered
            window.location.href = 'http://teven.atwebpages.com/index2.html?param1=' + encodeURIComponent(param1) + '&param2=' + encodeURIComponent(param2);
        }
    </script>
</body>
</html>