This commit is contained in:
2026-04-08 08:49:36 +02:00
parent 91524fb5e5
commit c165b74c99
26 changed files with 965 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?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';
?>