11 ms·
> However I think there's some truth in the fact that sometimes an unpredicted random computer move can mess things up. Isn't this guaranteed by the no free lu
by mistercow 13y ago
> However I think there's some truth in the fact that sometimes an unpredicted random computer move can mess things up.
Isn't this guaranteed by the no free lunch theorem?
- dimfox 13y agoThe new tiles only appears on the opposite of your move direction. Your code does not seem to care about that. Maybe it will perform better if this is considered?
- gohrt 13y agoNo. No Free Lunch Theorem means that there is no algorithm (that is programmed with no awareness of any specific search space) can be successful in ALL search spaces (problems). But 2048 is a highly-structured search space. Even with random opponent, the opponent's choices are constrained by the game's rule structure. http://en.wikipedia.org/wiki/No_free_lunch_theorem http://en.wikipedia.org/wiki/No_free_lunch_theorem