-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f530e61
commit e031a89
Showing
3 changed files
with
825 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Crossy Road Game Clone</title> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<div id="counter">0</div> | ||
|
||
<div id="controlls"> | ||
<div> | ||
<button id="forward"> | ||
<svg width="30" height="30" viewBox="0 0 10 10"> | ||
<g transform="rotate(0, 5,5)"> | ||
<path d="M5,4 L7,6 L3,6 L5,4" /> | ||
</g> | ||
</svg> | ||
</button> | ||
<button id="left"> | ||
<svg width="30" height="30" viewBox="0 0 10 10"> | ||
<g transform="rotate(-90, 5,5)"> | ||
<path d="M5,4 L7,6 L3,6 L5,4" /> | ||
</g> | ||
</svg> | ||
</button> | ||
<button id="backward"> | ||
<svg width="30" height="30" viewBox="0 0 10 10"> | ||
<g transform="rotate(180, 5,5)"> | ||
<path d="M5,4 L7,6 L3,6 L5,4" /> | ||
</g> | ||
</svg> | ||
</button> | ||
<button id="right"> | ||
<svg width="30" height="30" viewBox="0 0 10 10"> | ||
<g transform="rotate(90, 5,5)"> | ||
<path d="M5,4 L7,6 L3,6 L5,4" /> | ||
</g> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div id="end"> | ||
<button id="retry">Retry</button> | ||
</div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/99/three.min.js"></script> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.