-
-
Save asubramanian08/f631933a01f8e20d73c63ecb3326dd04 to your computer and use it in GitHub Desktop.
Play a visual 2048 game using front end languages (incomplete)
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
NOTE: This file is used to name the gist. |
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
console.log('Hello world'); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> | |
<h1>Hello world</h1> | |
<script src="scripts.js"> </script> | |
<script src="hello.js"> </script> | |
</body> | |
</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
var grid = []; | |
grid[0] = [null, null, null, null]; | |
grid[1] = [null, null, null, null]; | |
grid[2] = [null, null, null, null]; | |
grid[3] = [null, null, null, null]; | |
console.log(grid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment