Liu Zichen (Talk | contribs) |
Liu Zichen (Talk | contribs) |
||
Line 65: | Line 65: | ||
background-color:#000000; | background-color:#000000; | ||
} | } | ||
− | . | + | .warps { |
margin-left:auto; | margin-left:auto; | ||
margin-right:auto; | margin-right:auto; | ||
Line 193: | Line 193: | ||
<body> | <body> | ||
<script src="Untitled-1.js"></script> | <script src="Untitled-1.js"></script> | ||
− | <header class=" | + | <header class="warps"> |
<h1>Snake</h1> | <h1>Snake</h1> | ||
<p class="score">Score: <span id="score_value">0</span></p> | <p class="score">Score: <span id="score_value">0</span></p> | ||
</header> | </header> | ||
− | <canvas class=" | + | <canvas class="warps" id="snake" width="320" height="320" tabindex="1"></canvas> |
<!-- Game Over Screen --> | <!-- Game Over Screen --> |
Revision as of 13:07, 1 November 2017
<!doctype html>
/* OVERRIDE IGEM SETTINGS */Snake
Score: 0