Hacker News new | ask | show | jobs
by awendt 4287 days ago
I saw this game in an exhibition about monkeys, and it stopped at 9 numbers. The limit is arbitrary and could be increased. But at some point, the algorithm drawing the numbers may run out of screen estate.

You can take any time you need to remember the numbers, it does not matter. However, I'm planning to add more levels that only show the numbers briefly.

1 comments

> I'm planning to add more levels that only show the numbers briefly

I think it would be better (and simpler) to just decrease the potential score according to the time the player takes to look at the numbers (time of first click minus time the level was first displayed).

Also, I played several games and ended with a different score each time; if time doesn't matter, what does the score come from?

The score depends on how fast you can get from 1 to x. A stopwatch is started when you tap 1 and stopped when you tap the last number.

If you improve in each level and remain a constant rate, you get more points in higher levels. Suppose you take 1 second to finish each level, your points in all levels will be: 320, 500, 720, 980, 1280, 1620.

See https://github.com/awendt/memory-chimp/blob/master/game.js#L...

Ok; I wanted to try again and click super-fast, but the game stopped between levels 8 and 9 with the error "Uncaught TypeError: Cannot read property 'width' of undefined" in board.js, line 48

I'm on Chrome 39.0.2150.5 dev-m on Windows Vista on a 1280x800 laptop.

Can't seem to do better than 1770; but isn't what you're measuring mouse ability rather than memory... ;-)