Menu

Tree [54b434] default tip /
 History

Read Only access


File Date Author Commit
 .dir-locals.el 2014-09-09 Oleksandr Gavenko Oleksandr Gavenko [b19c97] Indent levels.
 .hgignore 2014-09-20 Oleksandr Gavenko Oleksandr Gavenko [5f4985] Add AI discussion. Blind strategies.
 .hgtags 2017-01-31 Oleksandr Gavenko Oleksandr Gavenko [54b434] Added tag v0.4.2 for changeset aee53838634e
 2048.html 2017-01-31 Oleksandr Gavenko Oleksandr Gavenko [d1b12b] Add swipe support for mobile devises. Fix bug a...
 AIs.rst 2015-01-07 Oleksandr Gavenko Oleksandr Gavenko [f0e34d] AI discussion.
 AUTHORS.rst 2014-09-17 Oleksandr Gavenko Oleksandr Gavenko [c2bad6] Add project docs.
 CHANGES.rst 2017-01-31 Oleksandr Gavenko Oleksandr Gavenko [aee538] Update CHANGES.
 HACKING.rst 2016-01-10 Oleksandr Gavenko Oleksandr Gavenko [225237] Point to new home page.
 Makefile 2016-02-06 Oleksandr Gavenko Oleksandr Gavenko [59df68] Add option to allow deploy with unclean working...
 README.rst 2015-01-07 Oleksandr Gavenko Oleksandr Gavenko [896cd3] Reindent code.
 ai.js 2015-07-04 Oleksandr Gavenko Oleksandr Gavenko [021cd4] Tend to one direction strategy.
 board.js 2016-08-07 Oleksandr Gavenko Oleksandr Gavenko [dbf2da] Add missing implementation: Monte-Carlo AI requ...
 header.rst 2016-01-10 Oleksandr Gavenko Oleksandr Gavenko [4b3a62] Mark navigation by class and center it.
 perf.html 2014-09-22 Oleksandr Gavenko Oleksandr Gavenko [c2bf15] Add some BoardObj routines.
 perf.js 2014-09-22 Oleksandr Gavenko Oleksandr Gavenko [1959a0] Fix: ReferenceError: assignment to undeclared v...
 rst.css 2016-01-10 Oleksandr Gavenko Oleksandr Gavenko [4b3a62] Mark navigation by class and center it.
 rule.js 2014-09-22 Oleksandr Gavenko Oleksandr Gavenko [653ee0] Speed up board.putRandom.

Read Me

2048 game JS AI.

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.