README.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 25 Sep 2014 01:10:01 +0300
changeset 138 23cd36180bf9
parent 108 5f4985c2a4d4
child 144 b19b85b476b3
permissions -rw-r--r--
Add ability to enable browser profile.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
     1
.. include:: header.rst
47
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
==================
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
 2048 game JS AI.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
==================
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
     6
.. contents::
47
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
     8
Document version.
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
     9
=================
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    10
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    11
.. include:: VERSION.rst
57
94e1b2d0bd31 Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 47
diff changeset
    12
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    13
Game rules.
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    14
===========
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    15
107
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    16
4x4 board tiles filled by nambers or empty.
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    17
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    18
During each move one of free tiles was filled by value 1 or 2 (2 with probability 10%).
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    19
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    20
You can move tiles in one of four possible direction: left/right/up/dowm.
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    21
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    22
Each move every tiles fill empty space in selected direction. If two tiles have same numbers ``N``
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    23
them was merged into tile with number ``N+1``. Merges performed from head of direction.
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    24
3f8c3da91e32 Game rules.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 77
diff changeset
    25
Your goal is to reach tile with number ``11`` or better.
57
94e1b2d0bd31 Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 47
diff changeset
    26
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    27
Alternatives.
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    28
=============
57
94e1b2d0bd31 Add JSDoc annotation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 47
diff changeset
    29
77
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    30
 * http://ov3y.github.io/2048-AI/ - online JS AI.
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    31
 * http://sztupy.github.io/2048-Hard/ - online JS AI with difficulty level.
c2bad6178c65 Add project docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 57
diff changeset
    32