6 ms·
I have some interesting results. The first time I played the game I scored around 3000 points. After that, I tried to slow down and focus on keep the same kind
by JacksonGariety 13y ago
I have some interesting results.
The first time I played the game I scored around 3000 points. After that, I tried to slow down and focus on keep the same kinds of numbers together, but after that, I couldn't get past 2250.
So I wrote a script that used Math.random() to hit the array keys continually, and the score was much lower: 1000.
Then I tried the sequence RIGHT UP LEFT DOWN over and over instead of Math.random() I scored significantly higher than all of them, in the 4000s.
Does anyone know why this might be?
- lysium 13y agoI don't know, but I can confirm.
- valtron 13y agoTried 3 games, and the scores were 2700, 1200, 5000. So maybe. But then I wrote a function to play it for me: var manager = new GameManager(4, KeyboardInputManager, HTMLActuator); function play() { manager.restart(); var m = 0; while (!manager.over) { manager.move(m); m = (m+1)%4; } return manager.score; } ... and that gets scores between 500 and 3000. (Edit) Histogram of 500 runs: 0k: *** 1k: ******************* 2k: **************** 3k: ********* 4k: * 5k: * 6k: *
- VMG 13y agoWhich is about the same score you get if you concentrate and really try hard to get a high score. I think this might be a "hacker" version of the slot machine - the player feels as if he's in control while in fact the outcome is pretty random.
- cordite 13y agoYeah, when I tried a systematic approach, I was getting better results than when I tried thinking about it. Left Down Right Down repeat.
- ronaldx 13y agoThis is actually a good method: by using this method (avoiding up and favouring down), you tend to cluster 2s and 4s towards the top while larger numbers percolate downwards (and towards the middle). If you encourage this natural tendency, you can do even better. When you're nearly stuck, you can often pick left or right so that a new tile can access both 2 and 4 and save yourself. I got comfortably to 1024 with one go of this method, scoring 16744.
- mightybyte 13y agoHmmm, that wasn't my experience. I got a score of 7540 on my first try. Although I do suspect that the skill component might be less than we think.
- recursive 13y agoI don't buy it. I got monotonically increasing scores, with my last play around 10k.
- db48x 13y agoNah, if I concentrate I can get to 14k. I haven't actually won yet, though; I keep making a mistake.