News for hackers. Stuff that matters.
Re:Show HN: Memory Chimp – How good is your working memory? by bambax on Wednesday September 17, 2014 @06:28AM (#8329358)
> 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?

Re:Show HN: Memory Chimp – How good is your working memory? by awendt on Wednesday September 17, 2014 @06:33AM (#8329367)
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...

Re:Show HN: Memory Chimp – How good is your working memory? by bambax on Wednesday September 17, 2014 @06:43AM (#8329385)
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.

Re:Show HN: Memory Chimp – How good is your working memory? by bambax on Wednesday September 17, 2014 @06:50AM (#8329395)
Can't seem to do better than 1770; but isn't what you're measuring mouse ability rather than memory... ;-)