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

Multiplayer Chess game #561

Open
wants to merge 7 commits 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
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,13 @@ <h3 class="card__heading">Astromania</h3>
<h3 class="card__heading">Netflix Clone</h3>
</div>
</a>

<a class="card" href="projects/Chess/index.html">
<div class="card__background" style="background-image: url(projects/Chess/image/Screenshot 2023-08-09 200006.png); background-size: cover;"></div>
<div class="card__content">
<p class="card__category">GAME</p>
<h3 class="card__heading">Chess Game</h3>
</div>
</a>
</div>
</section>

Expand Down
Binary file added projects/Chess/Bbishop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Chess/Bking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Chess/Bknight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Chess/Bpawn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Chess/Bqueen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Chess/Brook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions projects/Chess/Chess.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
* {
margin: 0;
padding: 0;
}

body {
display: grid;
place-items: center;
overflow-x: hidden;
}

h1 {
margin: 10px;
}

ul {
display: grid;
grid-template-columns: 1fr;
}

.divv {
display: flex;
}

li {
list-style: none;
display: grid;
place-items: center;
font-size: 0px;
}

.box {
margin: .5px;
width: 75px;
height: 75px;
}

#tog {
margin: 10px 0px;
}



.allimg {
width: 45px;
position: relative;
bottom: 5px;
}

.allpawn {
transform: scale(.7);
}

.authcont {
width: 100vw;
}

.author {
float: right;
margin-right: 50px;

}


@media (max-width:650px){

#tog {
margin-bottom: 70px;

}

.box {
width: 11vw;
height: 11vw;
}

.allimg {
width: 7vw;
}
}
Loading