Files

21 lines
379 B
PHP
Raw Permalink Normal View History

2026-04-08 08:49:36 +02:00
<?php
$images = ["rock.png","paper.png","scissors.png"];
$isPlaying = true;
$playerChoice = 0;
$computerChoice = 1;
$message = "Win";
$class = "Win";
$imagePlayer = $images[$playerChoice];
$imageComputer = $images[$computerChoice];
include './views/header.php';
if ($isPlaying){
include './views/game.php';
include './views/message.php';
}
include './views/footer.php';
?>