Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tic tac toe task done #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

8 changes: 0 additions & 8 deletions .github/labeler.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/labeler.yml

This file was deleted.

64 changes: 0 additions & 64 deletions Android.md

This file was deleted.

82 changes: 0 additions & 82 deletions Flutter.md

This file was deleted.

66 changes: 0 additions & 66 deletions README.md

This file was deleted.

63 changes: 0 additions & 63 deletions WebDev.md

This file was deleted.

Binary file added img1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="bg-image"></div>
<div id="select-box">
<header>Tic Tac Toe</header>
<div class="content" id="players2">
<div class="title">Play versus</div>
<div class="options">
<button class="computer" id="computer">Computer</button>
<button class="friend" id="friend">Friend</button>
</div>
</div>

<div class="content" id="singleplayer">
<div class="title">Select the shape to start with</div>
<div class="options">
<button class="O">O</button>
<button class="X">X</button>
</div>
</div>

<div class="content" id="shape">
<div class="options start">
<button class="start">START</button>
</div>
</div>

<span id="x_score"></span>
<span id="o_score"></span>
<br>
<div id="turn"></div>
<div id="result"></div>

<div class="board">
<div class="box" id="topleft"></div>
<div class="box" id="top"></div>
<div class="box" id="topright"></div>
<div class="box" id="left"></div>
<div class="box" id="middle"></div>
<div class="box" id="right"></div>
<div class="box" id="bottomleft"></div>
<div class="box" id="bottom"></div>
<div class="box" id="bottomright"></div>
</div>
<div>
<button class = "reset ">Reset</button>
<button class = "home">Home</button>
</div>

</div>

<script src="script.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

</body>
</html>
Loading