2048 game JS AI.

Document version.

For 2048-js-ai version: 0.4.2.

Source files are at revision: aee53838634e.

Package is at release state.

Build date: 2023-12-16.

Game rules.

4x4 board tiles filled by nambers or empty.

During each move one of free tiles was filled by value 1 or 2 (2 with probability 10%).

You can move tiles in one of four possible direction: left/right/up/dowm.

Each move every tiles fill empty space in selected direction. If two tiles have same numbers N them was merged into tile with number N+1. Merges performed from head of direction.

Your goal is to reach tile with number 11 or better.

Alternatives.

http://ov3y.github.io/2048-AI/
online JS AI.
http://sztupy.github.io/2048-Hard/
online JS AI with difficulty levels.