Better HN
topnewbestaskshowjobs
Log inSign up

felixN

22 karma · joined Mar 26, 2014 (12y ago) · 5 submissions

Submissions

comment 12y ago · link · parent

Thanks for your help! I will try it out :)

comment 12y ago · link · parent

I will fix that, thanks for the info

comment 12y ago · link · parent

I run 100 games - the algorithm needs 949 rounds in average to reach the 2048 tile

comment 12y ago · link · parent

Yes, true. I had the A* Algorithm in mind when I have implemented it, but the outcome really differs from that.

comment 12y ago · link · parent

You are right, the first cost function doesn't make a lot of sense, but I didn't divide by the number of leafs - so it basically also was based on the number of unassigned tiles.

So in the end you are right these approaches are more or less the same.