forked from Spandan-Bhattacharya/Solve_it
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added rubiks cube game (Spandan-Bhattacharya#312)
Co-authored-by: Spandan-Bhattacharya <[email protected]>
- Loading branch information
1 parent
3dc0a6d
commit 83ae192
Showing
6 changed files
with
4,550 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,97 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" > | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Rubiks Cube</title> | ||
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><link rel="stylesheet" href="./style.css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<div class="ui"> | ||
|
||
<div class="ui__background"></div> | ||
|
||
<div class="ui__game"></div> | ||
|
||
<div class="ui__texts"> | ||
<h1 class="text text--title"> | ||
<span style="color: red;">Rubiks Cube</span> | ||
</h1> | ||
<div class="text text--note"> | ||
Double tap to start | ||
</div> | ||
<div class="text text--timer"> | ||
0:00 | ||
</div> | ||
<div class="text text--complete"> | ||
<span>Complete!</span> | ||
</div> | ||
<div class="text text--best-time"> | ||
<icon trophy></icon> | ||
<span>Best Time of you!</span> | ||
</div> | ||
</div> | ||
|
||
<div class="ui__prefs"> | ||
<range name="size" title="Cube Size" list="2,3,4,5"></range> | ||
<range name="flip" title="Flip Type" list="Swift ,Smooth,Bounce"></range> | ||
<range name="scramble" title="Scramble Length" list="20,25,30"></range> | ||
<range name="fov" title="Camera Angle" list="Ortographic,Perspective"></range> | ||
<range name="theme" title="Color Scheme" list="Cube,Erno,Dust,Camo,Rain"></range> | ||
</div> | ||
|
||
<div class="ui__theme"> | ||
<range name="hue" title="Hue" color></range> | ||
<range name="saturation" title="Saturation" color></range> | ||
<range name="lightness" title="Lightness" color></range> | ||
</div> | ||
|
||
<div class="ui__stats"> | ||
<div class="stats" name="cube-size"> | ||
<i>Cube:</i><b>3x3x3</b> | ||
</div> | ||
<div class="stats" name="total-solves"> | ||
<i>Total solves:</i><b>-</b> | ||
</div> | ||
<div class="stats" name="best-time"> | ||
<i>Best time:</i><b>-</b> | ||
</div> | ||
<div class="stats" name="worst-time"> | ||
<i>Worst time:</i><b>-</b> | ||
</div> | ||
<div class="stats" name="average-5"> | ||
<i>Average of 5:</i><b>-</b> | ||
</div> | ||
<div class="stats" name="average-12"> | ||
<i>Average of 12:</i><b>-</b> | ||
</div> | ||
<div class="stats" name="average-25"> | ||
<i>Average of 25:</i><b>-</b> | ||
</div> | ||
</div> | ||
|
||
<div class="ui__buttons"> | ||
<button class="btn btn--bl btn--stats"> | ||
<icon trophy></icon> | ||
</button> | ||
<button class="btn btn--br btn--prefs"> | ||
<icon settings></icon> | ||
</button> | ||
<button class="btn btn--bl btn--back"> | ||
<icon back></icon> | ||
</button> | ||
<button class="btn btn--br btn--theme"> | ||
<icon theme></icon> | ||
</button> | ||
<button class="btn btn--br btn--reset"> | ||
<icon reset></icon> | ||
</button> | ||
</div> | ||
|
||
</div> | ||
<!-- partial --> | ||
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/95/three.min.js'></script><script src="./script.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.