Created
July 3, 2014 17:18
-
-
Save amo12937/963fa0e96bfb934530c8 to your computer and use it in GitHub Desktop.
2048の得点計算方法と理論上の最高得点 ref: http://qiita.com/amoO_O/items/743715e918c87d4c4930
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 8 16 32 | |
512 256 128 64 | |
1024 2048 4096 8192 | |
2^17 2^16 2^15 2^14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2][ ][ ] | |
→ | |
[2][ ][2] | |
→ | |
[2][ ][4] | |
→ | |
[2][2][4] | |
→ | |
[2][4][4] | |
→ | |
[2][ ][8] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 2][ ][ ] | |
(中略) | |
[ 2][ ][ 8] (3 マスあれば、2 だけを使って 8 を作る事ができる) | |
[ 2][ 2][ 8] | |
[ 4][ 4][ 8] (ここで 4 出現) | |
[ 2][ 8][ 8] | |
[ 2][ 2][16] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 8 16 32 | |
512 256 128 64 | |
1024 2048 4096 8192 | |
2^17 2^16 2^15 2^14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a[ 3] = 16 | |
a[ 4] = 48 | |
a[ 5] = 128 | |
a[ 6] = 320 | |
a[ 7] = 768 | |
a[ 8] = 1792 | |
a[ 9] = 4096 | |
a[10] = 9216 | |
a[11] = 20480 | |
a[12] = 45056 | |
a[13] = 98304 | |
a[14] = 212992 | |
a[15] = 458752 | |
a[16] = 983040 | |
a[17] = 2097152 | |
+ -60 | |
------------------ | |
3932100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment