-
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.
Merge pull request #3 from yassmittal/add-github-link-to-projects
Add GitHub link to projects
- Loading branch information
Showing
11 changed files
with
409 additions
and
163 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,40 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<title>2048 Game</title> | ||
</head> | ||
<body> | ||
<div> | ||
<div class="score-container"> | ||
<div>score :</div> | ||
<div class="score"></div> | ||
</div> | ||
<div class="game-status"></div> | ||
|
||
<div id="game-container"> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
</div> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<title>2048 Game</title> | ||
</head> | ||
|
||
<body> | ||
<div> | ||
<div class="score-container"> | ||
<div>score :</div> | ||
<div class="score"></div> | ||
</div> | ||
<div class="game-status"></div> | ||
|
||
<div id="game-container"> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
<div class="tile"></div> | ||
</div> | ||
</div> | ||
<a class="toprightfixedBtn toolTipWrap" target="_blank" | ||
href="https://github.com/yassmittal/yassmittal.github.io/tree/master/JavascriptProjects/2048Game"> | ||
<img src="assets/githubLogoWhite.svg" alt="github"> | ||
<span class="toolTipContent">View Source Code on Github</span> | ||
</a> | ||
|
||
<!-- <div class="transitionDiv">hi</div> --> | ||
<script src="script.js"></script> | ||
</body> | ||
|
||
<!-- <div class="transitionDiv">hi</div> --> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> | ||
</html> |
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
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 |
---|---|---|
@@ -1,95 +1,109 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Memory Matrix</title> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<link rel="shortcut icon" href="brain2.png" type="image/x-icon" /> | ||
<script src="script.js" defer></script> | ||
</head> | ||
<body> | ||
<div class="game-container-wrap"> | ||
<button class="question-btn"></button> | ||
<div class="score-info"> | ||
Current Score:- <span data-id="current-score"></span> <br /> | ||
Total Score:- <span data-id="total-score"></span> | ||
</div> | ||
<div class="levels-info"> | ||
<h1>Memory Matrix</h1> | ||
<h2>Your Current Level is <span data-id="current-level"></span></h2> | ||
<h3> | ||
Number of hidden tiles will be | ||
<span data-id="hidden-tiles-number"></span> | ||
</h3> | ||
</div> | ||
<div class="function-btn-wrap"> | ||
<button class="btn-primary" data-id="previous-level"> | ||
previous level | ||
</button> | ||
<button class="btn-primary" data-id="next-level">Next level</button> | ||
<button class="btn-primary" data-id="start-btn">Start The Game</button> | ||
<button class="btn-primary" data-id="reset-game">Reset Game</button> | ||
</div> | ||
<div class="game-container"> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
</div> | ||
|
||
<div class="result"></div> | ||
</div> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Memory Matrix</title> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<link rel="shortcut icon" href="assets/brain2.png" type="image/x-icon" /> | ||
<script src="script.js" defer></script> | ||
</head> | ||
|
||
<body> | ||
<header> | ||
<a class="toprightfixedBtn toolTipWrap" target="_blank" | ||
href="https://github.com/yassmittal/yassmittal.github.io/tree/master/JavascriptProjects/MemoryMatrix"> | ||
<img src="assets/githubLogo.svg" alt="github"> | ||
<span class="toolTipContent">View Source Code on Github</span> | ||
</a> | ||
|
||
<div class="TimerWrapper hide"> | ||
<div class="TimerContent"></div> | ||
<button class="question-btn toolTipWrap"> | ||
<span class="toolTipContent toolTipContentOnBottom">Instructions</span> | ||
</button> | ||
</header> | ||
<div class="game-container-wrap"> | ||
<div class="score-info"> | ||
Current Score:- <span data-id="current-score"></span> <br /> | ||
Total Score:- <span data-id="total-score"></span> | ||
</div> | ||
<div class="levels-info"> | ||
<h1>Memory Matrix</h1> | ||
<h2>Your Current Level is <span data-id="current-level"></span></h2> | ||
<h3> | ||
Number of hidden tiles will be | ||
<span data-id="hidden-tiles-number"></span> | ||
</h3> | ||
</div> | ||
<div class="function-btn-wrap"> | ||
<button class="btn-primary" data-id="previous-level"> | ||
previous level | ||
</button> | ||
<button class="btn-primary" data-id="next-level">Next level</button> | ||
<button class="btn-primary" data-id="start-btn">Start The Game</button> | ||
<button class="btn-primary" data-id="reset-game">Reset Game</button> | ||
</div> | ||
<div class="game-container"> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
<div></div> | ||
</div> | ||
|
||
<div class="result"></div> | ||
</div> | ||
|
||
<div class="modalWrapper"> | ||
<div class="modal-content"> | ||
<h2>Instructions</h2> | ||
Memory Matrix is a game where you have to use your memory to fill the | ||
matrix and reproduce a pattern without mistakes. | ||
<ul> | ||
<li>the order in which you click the cells is not important.</li> | ||
<li> | ||
in order to reproduce the pattern you must click only on the cells | ||
that belong to the pattern. | ||
</li> | ||
<div class="TimerWrapper hide"> | ||
<div class="TimerContent"></div> | ||
</div> | ||
|
||
<li>for every correct cell clicked you get 10 points</li> | ||
<div class="modalWrapper"> | ||
<div class="modal-content"> | ||
<h2>Instructions</h2> | ||
Memory Matrix is a game where you have to use your memory to fill the | ||
matrix and reproduce a pattern without mistakes. | ||
<ul> | ||
<li>the order in which you click the cells is not important.</li> | ||
<li> | ||
in order to reproduce the pattern you must click only on the cells | ||
that belong to the pattern. | ||
</li> | ||
|
||
<li> | ||
You will only get the chances to click the tile equals to the number | ||
of tiles hidden <br /> | ||
<li>for every correct cell clicked you get 10 points</li> | ||
|
||
<p> | ||
For Example:- <br /> | ||
If you have 7 tiles hidden only 7 Times you can click the tiles. | ||
If you clicked wrong tile 2 time Then you will get 20 Points less | ||
than the maximum point you can get from that level | ||
</p> | ||
</li> | ||
</ul> | ||
<li> | ||
You will only get the chances to click the tile equals to the number | ||
of tiles hidden <br /> | ||
|
||
<div> | ||
Note:- This task challenges a part of your short-term memory called | ||
spatial recall — your ability to track location and position within an | ||
environment. | ||
</div> | ||
<p> | ||
For Example:- <br /> | ||
If you have 7 tiles hidden only 7 Times you can click the tiles. | ||
If you clicked wrong tile 2 time Then you will get 20 Points less | ||
than the maximum point you can get from that level | ||
</p> | ||
</li> | ||
</ul> | ||
|
||
<div> | ||
Note:- This task challenges a part of your short-term memory called | ||
spatial recall — your ability to track location and position within an | ||
environment. | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.