Skip to content
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
161 changes: 72 additions & 89 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,140 +2,123 @@

<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="static/script.js"></script>
<script type="text/javascript" src="static/script.js"></script>

</head>

<body background="static/background.png">
<body>

<div style="text-align: -webkit-center; ">
<p style="font-size: 50px;color: grey ; padding: 10px ; ; margin-bottom: 15px">
<div style="text-align: -webkit-center; ">
<p style="font-size: 50px;color: grey ; padding: 10px ; ; margin-bottom: 15px">

2048
2048


</p>
<div style=" display: inline-flex;
align-items: center;
margin-right: 100px">
<div id="back">
<p id="score" style=" font-size: 33px;
text-align: center;
color: white;
font-family: sans-serif;
">
Score Board

</p>

</div>
<div id="back2" >
<p id="reload" style=" font-size: 20px;
text-align: center;
color: white;
cursor: pointer;
font-family: sans-serif;
">
New Game
</p>

</div>
</p>

<div id="container">
<div id="score">
</div>

<div id="reload">
New Game
</div>
</div>
<br />

</div>
</div>
<div style=" display: flex;
</div>
</div>
<div style=" display: flex;
align-items: center;
/* margin-left: 307px; */
justify-content: center;">
<div style=" padding: 18px;">
<table id="table" cellspacing="0">
<tr>
<td style="border-top-left-radius: 20px"> </td>
<td > </td>
<td> </td>
<td style="border-top-right-radius: 20px"> </td>
<div style=" padding: 18px;">
<table id="table" cellspacing="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>

</tr>
</tr>

<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>

<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>



<tr>
<td style="border-bottom-left-radius: 20px"> </td>
<td> </td>
<td> </td>
<td style="border-bottom-right-radius: 20px"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>





</table>
</table>

</div>
</div>

<div style=" padding: 30px;">
<table id="keys" >
<tr>
<td> </td>
<td id="up" class="k"><img style="width: 40px;
<div style=" padding: 30px;">
<table id="keys">
<tr>
<td> </td>
<td id="up" class="k"><img style="width: 40px;
height: 40px;" src="static/uparrow.png"> </td>
<td></td>
<td></td>


</tr>
<tr>
<td id="left" class="k"><img style="width: 40px;
</tr>
<tr>
<td id="left" class="k"><img style="width: 40px;
height: 40px;" src="static/leftarrow.png"></td>
<td></td>
<td id="right" class="k"><img style="width: 40px;
<td></td>
<td id="right" class="k"><img style="width: 40px;
height: 40px;" src="static/rightarrow.png"></td>


</tr>
<tr>
<td></td>
<td id="down" class="k"><img style="width: 40px;
</tr>
<tr>
<td></td>
<td id="down" class="k"><img style="width: 40px;
height: 40px;" src="static/downarrow.png"></td>
<td></td>
<td></td>


</tr>


</tr>





</table>

</table>
</div>

</div>
</div>
<div style="display: flex ; justify-content: center;">
<p style="font-size: 25px;

</div>
<div style="display: flex ; justify-content: center;">
<p style="font-size: 25px;

text-align: end;
color: gray;
color: grey;
font-family: sans-serif;
padding: 10px;"> Made By : Tushar Gupta<br>Get Code at : <a href="https://www.github.com/TUSHARZ/2048"> Github </a>
</p>
</p>



Expand All @@ -147,4 +130,4 @@



</html>
</html>
Loading