-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,18 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>RCP Game</title> | ||
<link rel="icon" href="/assets/images/logo_transparent.svg"> | ||
|
||
<!-- Include Tailwind CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body class="bg-gray-200"> | ||
<div class="container mx-auto mt-8"> | ||
<div class="container mx-auto mt-2 "> | ||
<div class="flex h-20 w-full justify-center items-center"> | ||
<img class="h-full w-auto" src="/assets/images/logo.svg"> | ||
|
||
</div> | ||
<h1 class="text-3xl font-semibold text-center mb-4">Rock Paper Scissors Game</h1> | ||
<div id="join-container" class="flex flex-col justify-center items-center mb-4"> | ||
<input id="player-name" type="text" placeholder="Enter your name" | ||
|
@@ -56,7 +62,6 @@ <h1 class="text-3xl font-semibold text-center mb-4">Rock Paper Scissors Game</h1 | |
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
var socket = null; | ||
let playerName = null; | ||
|