This was a coding challenge I did for a live stream. Without any real plan, I just set out to remake the logic of 2048 in a very simple and thrown-together html file:
You can play the game on this page if you want, with the arrow keys, or download the html file here