Calculator Tools Calculator Tools
Create

As...As Show

Jan 2, 2024

About this app

A fun game where the winner goes to Plimplim.tv and the loser goes to Redeglobo.globo.com

As...As Show

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>As...As Show</title>
<meta name="description" content="A fun game where the winner goes to Plimplim.tv and the loser goes to Redeglobo.globo.com">
<meta name="keywords" content="game, show, winner, loser, Plimplim.tv, Redeglobo.globo.com">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">

<script type="text/javascript">
try {
document.addEventListener("DOMContentLoaded", function() {
// Function to handle the game logic
function playGame() {
// Generate random number to determine the winner
var randomNumber = Math.random();
var winner;

// Check if the random number is greater than 0.5
if (randomNumber > 0.5) {
winner = "Player 1";
} else {
winner = "Player 2";
}

// Create the HTML content for the result
var resultHTML = "<h1>As...As Show</h1>";
resultHTML += "<p>The winner is: " + winner + "!</p>";
resultHTML += "<p>Congratulations! You can go to <a href='https://www.plimplim.tv'>Plimplim.tv</a>.</p>";
resultHTML += "<p>The loser has to go to <a href='https://www.redeglobo.globo.com'>Redeglobo.globo.com</a>.</p>";

// Display the result in the main container
$("#main-container").html(resultHTML);
}

// Call the playGame function
playGame();
});
} catch (error) {
throw error;
}
</script>

<style>
body {
background-color: #f8f9fa;
font-family: 'Roboto', sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}

#main-container {
text-align: center;
}

h1 {
font-size: 28px;
font-weight: bold;
color: #333;
}

p {
font-size: 16px;
color: #666;
margin-bottom: 10px;
}

a {
color: #007bff;
text-decoration: none;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- Result will be displayed here -->
</div>
</body>
</html>