/2048_Planning

2048 Agent using Monte Carlo method, can reach 4096

Primary LanguageJupyter NotebookMIT LicenseMIT

2048_Planning

2048 Agent using Monte Carlo method, can reach 4096. It has a cnn layer to extract checkerboard feature and a lstm layer to make logic decision, and utilize a strong model to train itself.

Code structure

Requirements

  • code only tested on linux system (ubuntu 16.04)
  • Python 3 (Anaconda 3.6.3 specifically) with numpy and flask

Run the web app

python3 webapp.py

Then it automatically run the planing agent. After a few minutes, you will get the result.

Result