Compare commits
4 Commits
2d23811cf9
...
01fad1e317
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01fad1e317 | ||
|
|
6f53c193d2 | ||
|
|
72de97f777 | ||
|
|
e04ba50e93 |
254
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/GAMES#2.html
Normal file
254
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/GAMES#2.html
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="id">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
<title> Blackjack [21] </title>
|
||||||
|
<style>
|
||||||
|
:root{--bg:#0b1220;--card:#ffffff;--muted:#9aa6b2;--accent:#0abf5b}
|
||||||
|
*{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Roboto,Arial}
|
||||||
|
body{margin:0;min-height:100vh;background:linear-gradient(180deg,#08101a 0%, #0c1620 100%);color:var(--card);display:flex;align-items:center;justify-content:center;padding:24px}
|
||||||
|
.table{width:960px;max-width:98vw;background:linear-gradient(180deg,#072029,#0a2530);border-radius:14px;padding:20px;box-shadow:0 10px 40px rgba(2,6,12,.6)}
|
||||||
|
header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
|
||||||
|
header h1{font-size:20px;margin:0}
|
||||||
|
.controls{display:flex;gap:10px;align-items:center}
|
||||||
|
|
||||||
|
.info{display:flex;gap:12px;align-items:center}
|
||||||
|
.chip{background:#072a1f;padding:8px 12px;border-radius:12px;color:var(--muted);font-weight:600}
|
||||||
|
.bet{display:flex;gap:8px;align-items:center}
|
||||||
|
input[type=number]{width:90px;padding:6px;border-radius:8px;border:1px solid rgba(255,255,255,.06);background:transparent;color:var(--card)}
|
||||||
|
button{background:var(--accent);border:none;padding:8px 12px;border-radius:10px;font-weight:700;color:#02220f;cursor:pointer}
|
||||||
|
button.secondary{background:transparent;border:1px solid rgba(255,255,255,.06);color:var(--card)}
|
||||||
|
main{display:grid;grid-template-columns:1fr 1fr;gap:14px}
|
||||||
|
.board{padding:14px;background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));border-radius:12px;min-height:220px}
|
||||||
|
.section-title{color:var(--muted);font-size:12px;margin-bottom:6px}
|
||||||
|
.hand{display:flex;gap:10px;align-items:flex-end}
|
||||||
|
.card{width:86px;height:120px;border-radius:8px;background:white;color:#000;display:flex;flex-direction:column;justify-content:space-between;padding:8px;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.35)}
|
||||||
|
.card.red{color:#b22222}
|
||||||
|
.card.back{background:linear-gradient(180deg,#0a76b9,#094e7a);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
|
||||||
|
.values{margin-top:8px;color:var(--muted);font-weight:700}
|
||||||
|
.actions{display:flex;gap:8px;margin-top:12px}
|
||||||
|
.message{margin-top:10px;color:var(--muted)}
|
||||||
|
footer{margin-top:12px;text-align:center;color:var(--muted);font-size:13px}
|
||||||
|
@media(max-width:700px){.hand{overflow:auto;padding-bottom:8px}.card{min-width:72px;width:72px;height:100px}}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="table" role="application" aria-label="Blackjack tanpa iklan">
|
||||||
|
<header>
|
||||||
|
<h1> Blackjack [21] </h1>
|
||||||
|
<div class="controls">
|
||||||
|
<div class="info">
|
||||||
|
<div class="chip">Bank: <span id="balance">1000</span></div>
|
||||||
|
<div class="chip">Taruhan: <span id="current-bet">0</span></div>
|
||||||
|
</div>
|
||||||
|
<div class="bet">
|
||||||
|
<input id="bet-input" type="number" min="1" value="50" />
|
||||||
|
<button id="bet-btn">Pasang Taruhan</button>
|
||||||
|
<button id="new-round" class="secondary"> Reset </button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div class="board" id="dealer-area">
|
||||||
|
<div class="section-title">Dealer</div>
|
||||||
|
<div class="hand" id="dealer-hand"></div>
|
||||||
|
<div class="values" id="dealer-value"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="board" id="player-area">
|
||||||
|
<div class="section-title">Pemain</div>
|
||||||
|
<div class="hand" id="player-hand"></div>
|
||||||
|
<div class="values" id="player-value"></div>
|
||||||
|
|
||||||
|
<div class="actions" id="action-buttons">
|
||||||
|
<button id="hit">Hit</button>
|
||||||
|
<button id="stand">Stand</button>
|
||||||
|
<button id="double">Double</button>
|
||||||
|
</div>
|
||||||
|
<div class="message" id="message"></div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
OCA GameHub - <code> Blackjack_[21] - </code> No Iklan - Play free in your device!
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Simple Blackjack implementation
|
||||||
|
const SUITS = ['♠','♥','♦','♣'];
|
||||||
|
const RANKS = ['A','2','3','4','5','6','7','8','9','10','J','Q','K'];
|
||||||
|
|
||||||
|
// DOM
|
||||||
|
const dealerHandEl = document.getElementById('dealer-hand');
|
||||||
|
const playerHandEl = document.getElementById('player-hand');
|
||||||
|
const dealerValueEl = document.getElementById('dealer-value');
|
||||||
|
const playerValueEl = document.getElementById('player-value');
|
||||||
|
const balanceEl = document.getElementById('balance');
|
||||||
|
const betInput = document.getElementById('bet-input');
|
||||||
|
const betBtn = document.getElementById('bet-btn');
|
||||||
|
const currentBetEl = document.getElementById('current-bet');
|
||||||
|
const hitBtn = document.getElementById('hit');
|
||||||
|
const standBtn = document.getElementById('stand');
|
||||||
|
const doubleBtn = document.getElementById('double');
|
||||||
|
const newRoundBtn = document.getElementById('new-round');
|
||||||
|
const messageEl = document.getElementById('message');
|
||||||
|
|
||||||
|
let deck = [];
|
||||||
|
let dealer = [];
|
||||||
|
let player = [];
|
||||||
|
let dealerHidden = true;
|
||||||
|
let balance = 1000;
|
||||||
|
let currentBet = 0;
|
||||||
|
let inRound = false;
|
||||||
|
|
||||||
|
function makeDeck(){
|
||||||
|
deck = [];
|
||||||
|
for(const s of SUITS){
|
||||||
|
for(const r of RANKS){
|
||||||
|
deck.push({suit:s,rank:r});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function shuffle(){
|
||||||
|
for(let i=deck.length-1;i>0;i--){
|
||||||
|
const j = Math.floor(Math.random()*(i+1));
|
||||||
|
[deck[i],deck[j]] = [deck[j],deck[i]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function cardValue(card){
|
||||||
|
const r = card.rank;
|
||||||
|
if(r==='A') return [1,11];
|
||||||
|
if(['J','Q','K'].includes(r)) return [10];
|
||||||
|
return [parseInt(r,10)];
|
||||||
|
}
|
||||||
|
|
||||||
|
function handValues(hand){
|
||||||
|
// returns best value <=21 or smallest if bust
|
||||||
|
let totals = [0];
|
||||||
|
for(const c of hand){
|
||||||
|
const vals = cardValue(c);
|
||||||
|
const newTotals = [];
|
||||||
|
for(const t of totals){
|
||||||
|
for(const v of vals){ newTotals.push(t+v); }
|
||||||
|
}
|
||||||
|
totals = Array.from(new Set(newTotals));
|
||||||
|
}
|
||||||
|
// separate <=21 and >21
|
||||||
|
const valid = totals.filter(t=>t<=21);
|
||||||
|
if(valid.length) return Math.max(...valid);
|
||||||
|
return Math.min(...totals);
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderHand(el,hand,hideFirst=false){
|
||||||
|
el.innerHTML='';
|
||||||
|
hand.forEach((c,i)=>{
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.className='card'+(c.suit==='♥'||c.suit==='♦'?' red':'');
|
||||||
|
if(hideFirst && i===0){ div.className='card back'; div.textContent='TERSEMBUNYI'; }
|
||||||
|
else{
|
||||||
|
const top = document.createElement('div'); top.textContent = c.rank + ' ' + c.suit; // top-left
|
||||||
|
const bot = document.createElement('div'); bot.style.alignSelf='flex-end'; bot.textContent = c.rank + ' ' + c.suit; // bottom-right
|
||||||
|
div.appendChild(top); div.appendChild(bot);
|
||||||
|
}
|
||||||
|
el.appendChild(div);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateUI(){
|
||||||
|
renderHand(dealerHandEl,dealer,dealerHidden);
|
||||||
|
renderHand(playerHandEl,player,false);
|
||||||
|
dealerValueEl.textContent = dealerHidden ? '??' : 'Nilai: '+handValues(dealer);
|
||||||
|
playerValueEl.textContent = 'Nilai: '+handValues(player);
|
||||||
|
balanceEl.textContent = balance;
|
||||||
|
currentBetEl.textContent = currentBet;
|
||||||
|
}
|
||||||
|
|
||||||
|
function startRound(){
|
||||||
|
if(inRound) return;
|
||||||
|
const bet = Number(betInput.value) || 0;
|
||||||
|
if(bet <=0 || bet > balance){ alert(' BANK TIDAK CUKUP! '); return; }
|
||||||
|
currentBet = bet; balance -= bet; inRound=true; dealerHidden=true; messageEl.textContent='';
|
||||||
|
|
||||||
|
makeDeck(); shuffle();
|
||||||
|
dealer = [deck.pop(), deck.pop()];
|
||||||
|
player = [deck.pop(), deck.pop()];
|
||||||
|
|
||||||
|
// Check for natural blackjack
|
||||||
|
updateUI();
|
||||||
|
if(handValues(player)===21){
|
||||||
|
dealerHidden=false; updateUI();
|
||||||
|
const dealerVal = handValues(dealer);
|
||||||
|
if(dealerVal===21){ // push
|
||||||
|
balance += currentBet; messageEl.textContent = 'Tie (seri). Taruhan dikembalikan.';
|
||||||
|
} else {
|
||||||
|
// player blackjack 3:2
|
||||||
|
const payout = Math.floor(currentBet * 2.5);
|
||||||
|
balance += payout; messageEl.textContent = 'Blackjack! You Win.';
|
||||||
|
}
|
||||||
|
inRound=false; currentBet=0; updateUI();
|
||||||
|
} else {
|
||||||
|
updateUI();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function playerHit(){
|
||||||
|
if(!inRound) return; player.push(deck.pop()); updateUI();
|
||||||
|
const val = handValues(player);
|
||||||
|
if(val>21){ // bust
|
||||||
|
dealerHidden=false; messageEl.textContent='Bust! Dealer Win!'; inRound=false; currentBet=0; updateUI();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function playerStand(){
|
||||||
|
if(!inRound) return; dealerHidden=false; // reveal dealer
|
||||||
|
// dealer plays
|
||||||
|
while(handValues(dealer)<17){ dealer.push(deck.pop()); }
|
||||||
|
const pv = handValues(player); const dv = handValues(dealer);
|
||||||
|
if(dv>21 || pv>dv){ // player wins
|
||||||
|
const payout = currentBet*2; balance += payout; messageEl.textContent='You Win!';
|
||||||
|
} else if(pv===dv){ // push
|
||||||
|
balance += currentBet; messageEl.textContent='Tie (seri).';
|
||||||
|
} else { messageEl.textContent='Dealer Win!'; }
|
||||||
|
inRound=false; currentBet=0; updateUI();
|
||||||
|
}
|
||||||
|
|
||||||
|
function playerDouble(){
|
||||||
|
if(!inRound) return;
|
||||||
|
if(balance < currentBet){ alert('Bank tidak cukup untuk double.'); return; }
|
||||||
|
// double: take exactly one card then stand
|
||||||
|
balance -= currentBet; currentBet = currentBet*2; player.push(deck.pop()); updateUI();
|
||||||
|
const val = handValues(player);
|
||||||
|
if(val>21){ dealerHidden=false; messageEl.textContent='Bust setelah double. Dealer Win!'; inRound=false; currentBet=0; updateUI(); return; }
|
||||||
|
playerStand();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Events
|
||||||
|
betBtn.addEventListener('click', startRound);
|
||||||
|
hitBtn.addEventListener('click', playerHit);
|
||||||
|
standBtn.addEventListener('click', playerStand);
|
||||||
|
doubleBtn.addEventListener('click', playerDouble);
|
||||||
|
newRoundBtn.addEventListener('click', ()=>{
|
||||||
|
// reset everything
|
||||||
|
if(inRound){ if(!confirm('Masih dalam ronde. Ingin reset?')) return; }
|
||||||
|
balance = 1000; currentBet=0; inRound=false; dealer=[]; player=[]; deck=[]; dealerHidden=true; messageEl.textContent='Bank di-reset.'; updateUI();
|
||||||
|
});
|
||||||
|
|
||||||
|
// keyboard shortcuts
|
||||||
|
window.addEventListener('keydown', e=>{
|
||||||
|
if(e.key==='h') playerHit();
|
||||||
|
if(e.key==='s') playerStand();
|
||||||
|
if(e.key==='d') playerDouble();
|
||||||
|
if(e.key==='Enter') startRound();
|
||||||
|
});
|
||||||
|
|
||||||
|
// initial UI
|
||||||
|
updateUI();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
5
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/cliffjs.git.html
Normal file
5
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/cliffjs.git.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<html>
|
||||||
|
<title>Test Cliff Julyano - 5803025013</title>
|
||||||
|
<h1>Haloo, Aku Cliff Julyano</h1>
|
||||||
|
<h1>Dengan NRP : 5803025013</h1>
|
||||||
|
</html>
|
||||||
2
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/read.md
Normal file
2
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/read.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nama : Tebak kartu
|
||||||
|
haha hihi haha hiuhu
|
||||||
1
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/yanto.html
Normal file
1
Kelompok8-OCAGamingHub-Ody-Alex-Cliff/yanto.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
yaahahhahahaa
|
||||||
375
alex git.html
375
alex git.html
@ -1,367 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<html>
|
||||||
<html lang="en">
|
<head>
|
||||||
<head>
|
<title>Git Commit Alexander</title>
|
||||||
<meta charset="UTF-8">
|
</head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<body>
|
||||||
<title>OCA Gaming Hub - Kelompok 8</title>
|
<h1> Ini baru percobaan git commit ahayyy</h1>
|
||||||
<style>
|
</body>
|
||||||
* {
|
</html>
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: 'Arial', sans-serif;
|
|
||||||
background: #0a0e27;
|
|
||||||
color: #fff;
|
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
header {
|
|
||||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
||||||
padding: 2rem 0;
|
|
||||||
border-bottom: 3px solid #00d4ff;
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 100;
|
|
||||||
box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-content {
|
|
||||||
max-width: 1200px;
|
|
||||||
margin: 0 auto;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: bold;
|
|
||||||
background: linear-gradient(45deg, #00d4ff, #0099ff);
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul {
|
|
||||||
display: flex;
|
|
||||||
list-style: none;
|
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a {
|
|
||||||
color: #00d4ff;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: 500;
|
|
||||||
transition: all 0.3s;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a:hover {
|
|
||||||
background: rgba(0, 212, 255, 0.2);
|
|
||||||
box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hero Section */
|
|
||||||
.hero {
|
|
||||||
background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%),
|
|
||||||
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="rgba(0,212,255,0.02)"/><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
|
|
||||||
padding: 6rem 20px;
|
|
||||||
text-align: center;
|
|
||||||
min-height: 500px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero h1 {
|
|
||||||
font-size: 4rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
|
|
||||||
animation: glow 2s ease-in-out infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero p {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
color: #00d4ff;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes glow {
|
|
||||||
0%, 100% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
|
|
||||||
50% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
|
|
||||||
}
|
|
||||||
|
|
||||||
.cta-button {
|
|
||||||
display: inline-block;
|
|
||||||
background: linear-gradient(135deg, #00d4ff, #0099ff);
|
|
||||||
color: #000;
|
|
||||||
padding: 1rem 2rem;
|
|
||||||
border-radius: 50px;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
|
||||||
border: none;
|
|
||||||
transition: all 0.3s;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cta-button:hover {
|
|
||||||
transform: scale(1.05);
|
|
||||||
box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Container */
|
|
||||||
.container {
|
|
||||||
max-width: 1200px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sections */
|
|
||||||
section {
|
|
||||||
padding: 4rem 0;
|
|
||||||
border-bottom: 1px solid rgba(0, 212, 255, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
section h2 {
|
|
||||||
font-size: 2.5rem;
|
|
||||||
margin-bottom: 3rem;
|
|
||||||
text-align: center;
|
|
||||||
color: #00d4ff;
|
|
||||||
text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Games Grid */
|
|
||||||
.games-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
||||||
gap: 2rem;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-card {
|
|
||||||
background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
|
|
||||||
border: 2px solid #00d4ff;
|
|
||||||
border-radius: 10px;
|
|
||||||
overflow: hidden;
|
|
||||||
transition: all 0.3s;
|
|
||||||
cursor: pointer;
|
|
||||||
box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-card:hover {
|
|
||||||
transform: translateY(-10px);
|
|
||||||
box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
|
|
||||||
border-color: #00ffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-icon {
|
|
||||||
font-size: 3rem;
|
|
||||||
padding: 1.5rem;
|
|
||||||
text-align: center;
|
|
||||||
background: rgba(0, 212, 255, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-info {
|
|
||||||
padding: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-info h3 {
|
|
||||||
color: #00d4ff;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
font-size: 1.3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-info p {
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Team Section */
|
|
||||||
.team-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
||||||
gap: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member {
|
|
||||||
background: rgba(0, 212, 255, 0.05);
|
|
||||||
border: 1px solid #00d4ff;
|
|
||||||
padding: 2rem;
|
|
||||||
border-radius: 10px;
|
|
||||||
text-align: center;
|
|
||||||
transition: all 0.3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member:hover {
|
|
||||||
background: rgba(0, 212, 255, 0.15);
|
|
||||||
box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member h3 {
|
|
||||||
color: #00d4ff;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-member p {
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
footer {
|
|
||||||
background: #0a0e27;
|
|
||||||
border-top: 2px solid #00d4ff;
|
|
||||||
padding: 2rem 0;
|
|
||||||
text-align: center;
|
|
||||||
color: #aaa;
|
|
||||||
box-shadow: 0 -5px 15px rgba(0, 212, 255, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive */
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.hero h1 {
|
|
||||||
font-size: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul {
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-content {
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<!-- Header -->
|
|
||||||
<header>
|
|
||||||
<div class="header-content">
|
|
||||||
<div class="logo">🎮 OCA Gaming Hub</div>
|
|
||||||
<nav>
|
|
||||||
<ul>
|
|
||||||
<li><a href="#games">Games</a></li>
|
|
||||||
<li><a href="#team">Team</a></li>
|
|
||||||
<li><a href="#contact">Contact</a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Hero Section -->
|
|
||||||
<section class="hero">
|
|
||||||
<h1>Welcome to OCA Gaming Hub</h1>
|
|
||||||
<p>Kelompok 8 - Gaming & Tech Excellence</p>
|
|
||||||
<button class="cta-button">Explore Games</button>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Games Section -->
|
|
||||||
<section id="games">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Popular Games</h2>
|
|
||||||
<div class="games-grid">
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">🎮</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Action Quest</h3>
|
|
||||||
<p>Epic adventure with challenging levels and thrilling gameplay</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">👾</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Space Invaders</h3>
|
|
||||||
<p>Classic arcade style game with modern graphics</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">⚔️</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Battle Arena</h3>
|
|
||||||
<p>Multiplayer competitive gaming experience</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">🏆</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Champion League</h3>
|
|
||||||
<p>Tournament mode with exciting rewards</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">🌟</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Galaxy Explorer</h3>
|
|
||||||
<p>Explore infinite space and discover new worlds</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="game-card">
|
|
||||||
<div class="game-icon">💎</div>
|
|
||||||
<div class="game-info">
|
|
||||||
<h3>Treasure Hunt</h3>
|
|
||||||
<p>Puzzle-solving adventure with hidden treasures</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Team Section -->
|
|
||||||
<section id="team">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Our Team - Kelompok 8</h2>
|
|
||||||
<div class="team-grid">
|
|
||||||
<div class="team-member">
|
|
||||||
<h3>Ody</h3>
|
|
||||||
<p>Game Developer & Designer</p>
|
|
||||||
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Lead Developer</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="team-member">
|
|
||||||
<h3>Alex</h3>
|
|
||||||
<p>Frontend & UI Developer</p>
|
|
||||||
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Web Specialist</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="team-member">
|
|
||||||
<h3>Cliff</h3>
|
|
||||||
<p>Backend & Systems Engineer</p>
|
|
||||||
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Infrastructure</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Contact Section -->
|
|
||||||
<section id="contact">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Get in Touch</h2>
|
|
||||||
<div style="text-align: center; padding: 2rem;">
|
|
||||||
<p style="font-size: 1.1rem; margin-bottom: 1rem;">Contact us for gaming opportunities & collaborations</p>
|
|
||||||
<a href="mailto:kelompok8@ocagaminghub.com" class="cta-button">Send Email</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Footfbhthbethbetheer -->
|
|
||||||
<footer>
|
|
||||||
<p>© 2025 OCA Gaming Hub - Kelompok 8 (Ody, Alex, Cliff)</p>
|
|
||||||
<p>Gaming Excellence Through Innovation</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user