A basic 2048 game made with HTML, CSS and JavaScript
The tiles are styled and positioned using CSS based on classes and custom attributes. An ordered array of 16 tile elements is kept in sync with the DOM.
The live game can be demoed at https://luciism.github.io/2048.
The game is developed using flask for the purpose of Project IDX web previews. It can be played standalone from the index.html file.
