3 ms·
Question for AI people: is 2048 and interesting game to try different algorithms on and if so, why?
by netcan 13y ago
Question for AI people: is 2048 and interesting game to try different algorithms on and if so, why?
- ronaldx 13y agoI'm not really an AI person, but I think it's interesting, yes: Each individual decision is simple (choose from 4 directions), but the overall strategy is difficult (the arrival of each new piece has a random element). The game tree[0] is awkward to draw in full, because of this random element. If we can draw it out well enough to analyse it, we can come up with a perfect play algorithm that wins as often as possible. Tic-tac-toe is 'solved' in this sense: we always know what the best play is. Since 2048 remains unsolved (for now), AI algorithms which simplify and try to approximate that process come into play. As long as nobody has come up with perfect play, it's still interesting to see who can come up with the best play. 2048 is relatively simple game to remain unsolved, so it's nice and accessible to apply algorithms to (and still relevant to do so). [0]https://en.wikipedia.org/wiki/Game_tree https://en.wikipedia.org/wiki/Game_tree
- deleted 13y ago[deleted]
- netcan 13y agoFollow up question: I'd rather not say how many hours I sank into 2048 before I could beat it. But, it's interesting to recall the little rules, preferences and maybe even aesthetics that I picked up along the way and the order they came in. HN was all 2048 AI that day so I was noticing how I was learning the game. An early strategic step was deciding to play in only 3 directions, with one direction as the least favorite, potentially dangerous direction. If my high square is on the bottom right with the second highest to its left then up is not allowed and left is dangerous because it could put a 2 in the high square's place. If I hadn't been "recording" the process at the time I would have missed what sent me down the '3 directions' path. I started by deciding to have the high square in the corner. Then I decided I wanted to lock the whole row as a way of keeping it there. Another more subtle reason reason was that this simplified the rules of the game and let me learn a few other strategies. Moving in all directions was too complicated. An early strategy that i tried and abandoned was trying to getting high squares to one another. Instead I concentrated my attention on the squares in the locked row that stay in place fore a while and started worrying about doubling only those. This was another way of simplifying the game. It meant that my attention could be focused on certain spaces, not on everything. For example, I want to double square D2. Line D is locked I need to get D2's value to C2. It's easiest to do this if outside of line D all values are lower than D2. Interesting stuff. makes me want to learn a new games just to watch me learn it. So the question: How doable is it to watch humans develop learn and represent them? And a second one: is there a '_why's shoes' equivalent for AI?
- function_seven 13y agoFYI, for some reason your follow up question is hellbanned. Thought you'd like to know.