/Game-2048

Using html, css and JavaScript to create 2048

Primary LanguageCSS

2048

Step

HTML

  • Create a HTML file
  • Setup the HTML file
  • Add reference to the CSS file and JavaScript file

CSS

  • Create a CSS file
  • Setup the box style, border and background color
  • Giving each number a different color
  • Setup the font size and font family

JavaScript

  • Create a JavaScript file
  • Setup the game board
  • Setup the game pieces
  • Setup the game logic