Gun Holder: Period!
About this app
A fun and interactive game where you manage a gun shop during different historical periods.
Gun Holder: Period! 🏰 The Medieval Period 🏰 🛡️ Crossbow 🛡️ Next Period
Related apps
Put this on your site
Source
<!DOCTYPE html>
<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>Gun Holder: Period!</title>
<meta name="description" content="A fun and interactive game where you manage a gun shop during different historical periods.">
<meta name="keywords" content="gun holder, game, historical periods, interactive, gun shop">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<style>
/* App CSS */
body {
font-family: 'Press Start 2P', cursive;
background: linear-gradient(to right, #6dd5ed, #2193b0);
}
#main-container {
text-align: center;
padding-top: 50px;
}
.gun {
font-size: 48px;
}
.period-title {
margin: 20px 0;
}
.gun-display {
margin-bottom: 30px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1 class="period-title">🏰 The Medieval Period 🏰</h1>
<div class="gun-display">🛡️ Crossbow 🛡️</div>
<button id="change-period" class="btn btn-primary btn-lg">Next Period</button>
</div>
<script type="text/javascript">
try {
const periods = [
{
title: "🏰 The Medieval Period 🏰",
gun: "🛡️ Crossbow 🛡️"
},
{
title: "⚔️ The Renaissance ⚔️",
gun: "🔫 Arquebus 🔫"
},
{
title: "🎩 The Industrial Revolution 🎩",
gun: "🔧 Gatling Gun 🔧"
},
{
title: "🌍 The Modern Era 🌍",
gun: "🔫 Assault Rifle 🔫"
}
];
let currentPeriod = 0;
function updateDisplay() {
$('.period-title').text(periods[currentPeriod].title);
$('.gun-display').text(periods[currentPeriod].gun);
}
$(document).ready(function() {
$('#change-period').click(function() {
currentPeriod = (currentPeriod + 1) % periods.length;
updateDisplay();
});
});
} catch (error) {
throw error;
}
</script>
</body>
</html>
NEW APPS
These are apps made by the community!