Difference between revisions of "Team:Tianjin/hahaha"

Line 65: Line 65:
 
background-color:#000000;
 
background-color:#000000;
 
}
 
}
.wrap {
+
.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="wrap">
+
<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="wrap" id="snake" width="320" height="320" tabindex="1"></canvas>
+
<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

Game Over

press space to begin a

new game settings

Settings

new game

Speed:

Wall: