It won first time, impressive! http://i.imgur.com/epUtjyB.png
2048 AI
171–180 of 197 posts
Re: 2048 AI
#172Re: 2048 AI
#173Earlier quoted context omitted.
Not bad. My new simple algo is: 1. Down until you cannot go down 2. Left 3. Down until you cannot go down 4. Right 5. Go to 1.
Right/Down/right/Down with an Up/Right/Down thrown in when stuck has worked well for me. My first 1024 block came that way. When I began playing I was moving around the board in an unorganized fashion, but am now finding that moving the larger numbers to one corner (bottom-right for me) is the best method. By having your block consolidation take place in one particular area, the odds that you'll have matching large n…
Yup, this one works very well.
Re: 2048 AI
#174Hahah, I knew this was coming sooner or later. Thanks! Great job! EDIT: This AI is a better player than me.
I don't know if you've experienced it yourself or have heard other reports of it, but after playing your game for a few hours last night I've been experiencing a 2048-flavored "tetris effect" all day today. My brain keeps on trying to identify "like things" to collapse together; pretty wild.
Re: 2048 AI
#175I've been playing this for awhile now and I think I have found that the best method is to only use 3 directions. This forces your highest number into a corner and only spawns 2's and 4's in the opposite corner. You build up numbers that cascade down to the corner. It almost never gets stuck, but if you do I guess you'd have to push the 4th direction you haven't been using.
Re: 2048 AI
#176Re: 2048 AI
#177The way I won myself rather quickly was using bottom right priority and ignoring up key(which was suggested by HN).
That is put highest scoring tiles bottom and sorted to the right if possible.
So it is mostly down, right, with some lefts, but no ups. This way is really easy to get 1024, I think I reached 2048 on the 3rd try with this strategy(score was 20k something).
Re: 2048 AI
#178Hahah, I knew this was coming sooner or later. Thanks! Great job! EDIT: This AI is a better player than me.
I don't know if you've experienced it yourself or have heard other reports of it, but after playing your game for a few hours last night I've been experiencing a 2048-flavored "tetris effect" all day today. My brain keeps on trying to identify "like things" to collapse together; pretty wild.
Re: 2048 AI
#179Re: 2048 AI
#180Now, since the board is 16 tiles, and that you need two 2^n can make a 2^(n+1), the max game that can be played is 2^16=65536.
Can a 65536 game can be reallistically won, can it be by OP's AI?