Live data from Hacker News

2048 AI

ov3y.github.io

21–30 of 197 posts

Re: 2048 AI

#21
post #16
post #9

A new browser performance benchmark has born?

It runs based on random numbers, so it's hardly a reliable benchmark.

Just use a fixed seed and it's 100% deterministic. Benchmarks use random numbers all the time. (In fact, PRNGs themselves often make OK benchmarks.)

Re: 2048 AI

#23
I'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

#25
Interesting. It seems the solution I and a couple of people more came up with of keeping the top value in a corner isn't being used. It's amazing how it's able to keep the large numbers together throughout the game.

The gameplay is much more interesting but it seems that getting from 1024 to 2048 is much harder this way, probably because the randomness accumulates over time making the depth search unreliable. The more structured solution accumulates much less risk so has some margin to deal with this.

Re: 2048 AI

#26
While the game is difficult to finish, I'm kind of saddened at how far I can go just by randomly hitting up arrow, left arrow, down arrow, right arrow, etc.

Re: 2048 AI

#27
What are the rules for new tile placement? Is it deterministic, random, or adversarial?

Re: 2048 AI

#30
post #27

What are the rules for new tile placement? Is it deterministic, random, or adversarial?

Random location (uniform). 90% chance of a 2, 10% chance of a 4. This actually made it hard to model the computer move in the search.
Post reply on HN