- ๐ Master of codes, breaker of chains. I venture deep into the realms of Infosec & Blockchain.
- ๐ Defender of the digital frontier. My mission? Safeguarding bytes and bits against the unseen.
- ๐ก Constantly evolving, learning, and hacking the matrix of cyber technologies.
Music fuels my code. Here are some tracks that keep me in the zone:
Want a break? Let's play a quick game of Rock, Paper, Scissors!
function game(playerChoice) {
const choices = ["rock", "paper", "scissors"];
const computerChoice = choices[Math.floor(Math.random() * 3)];
if (playerChoice === computerChoice) {
return "It's a draw!";
}
if (
(playerChoice === "rock" && computerChoice === "scissors") ||
(playerChoice === "scissors" && computerChoice === "paper") ||
(playerChoice === "paper" && computerChoice === "rock")
) {
return `You win! Computer chose ${computerChoice}`;
} else {
return `You lose! Computer chose ${computerChoice}`;
}
}