3Dstudy/przejsciowy/snake.html

42 lines
1.3 KiB
HTML
Raw Normal View History

2018-01-10 02:07:28 +01:00
<!DOCTYPE html>
<html>
<head>
<title> Snake Game </title>
<link rel="stylesheet" href="snake.css">
</head>
<body>
<div id="container">
<div id="popup">
Odpowiedz na pytanie!
<br>
<p>Czy lubisz jabłka?</p>
<input id="yes" type="radio" value="yes" name="yes_no">Tak<br>
<input id="no" type="radio" value="no" name="yes_no">No<br>
<a type="submit" value="submit">
<span id="correct">To jest dobra odpowiedz,<br> mozesz grac dalej!</span><br>
<button id="continue_game">Ruszaj dalej!</button>
<span id="incorrect">To jest zla odpowiedz!Przegraleś!<br>
Twoj wynik to: <span id="final"></span>
</span>
<br>
<a id="#restart" onClick="window.location.reload()" href="#">Click To Play Again</a>
</div>
<canvas id="myCanvas" width="600" height="450">
Your browser does not support the canvas feature
</canvas>
<div id="score">
<div>Current Score:<span id="current">0</span>
</div>
<div>High Score:<span id="highest">3</span>
</div>
</div>
</div>
<!-- jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<!-- Main JS -->
<script src="snake.js"></script>
</body>
</html>