744 Forum

Apron => Pit => Topic started by: Avi on Mon, 10 Sep 2018 14:03

Title: 2048
Post by: Avi on Mon, 10 Sep 2018 14:03
I don't know how many of you know the game 2048.
It is a 4X4 square where you start with a single cell with the number 2 and you need to swap them (each swap adding another cell with the number 2 or 4) and you need to connect them: 2+2=4, 4+4=8 etc.
The purpose of the game is to reach 2048.
After figuring out the idea I decided to try getting the highest possible score.
I started my latest attempt (easy to fail when there is very little space for errors, if any, since you can UNDO only the last move) early April and 2 weeks ago I succeeded to reach the highest score.
You can't get more than that.

(http://www.hoppie.nl/forum/var/AA2048.png)

You need a lot of patience for it  ;D
Now I'm looking for something else to do at my breaks.

Title: Re: 2048
Post by: cagarini on Fri, 21 Sep 2018 08:13
Maybe you could try to use Horn Clauses / Prolog to code the problem and set the PC solving it :-)

Anyway, many intersting read over the Internet - I wasn'«t even aware of it ... Thx for sharing !

www.science4all.org/article/2048-game/
Title: Re: 2048
Post by: Avi on Fri, 21 Sep 2018 15:34
I wonder how his high score (3867384) is lower than mine (3889428).