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?
Tried 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;
}
Comments (410) 175 threads
Show all comments
Showing thread 16 of 175
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?
(Edit) Histogram of 500 runs:
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.
Continue this thread — 1 reply