This fork uses deep Q-learning to train an AI for 2048. Perhaps this is not the best approach for 2048, but it's a good way to learn about DQL.
npm install
browserify ai.js > bundle.js
open index.html
(i.e. visit index.html in a browser)
This fork uses Lauri Härsilä's API (demo) to build an AI for 2048. The original 2048 game can be found at Gabriele Cirulli's page.