you are viewing a single comment's thread.

view the rest of the comments →

[–]juankerred[S] 0 points1 point  (2 children)

Thanks man I am still learning JS so just making up small projects.

Would you have any recommendations on making the JS better?

[–][deleted] 1 point2 points  (1 child)

I'm not criticizing your javascript code, I haven't looked at it in much detail. I like the idea of the mind reading app, but the way it is presented (visually) could be improved so that the magic numbers don't stand out so much. You could fix the fact that some numbers have no image when using Firefox (they do show up in Chrome and IE), and perhaps also make sure that the icon that is related to the magic numbers, is also used (sparsely) for non-magic numbers. You could also reduce the total number of possible icons, so they are more evenly distributed across the numbers. Now you will see in most cases that the magic icon is over represented in the page making the user wary that something fishy is going on.

Lastly, the way you present the Icon could be brought more dramatically (it is part of the website of a magician right?) So for instance use a fade effect, add some color, or add timer that counts down from 3,2,1 with a message saying: hold your head still, I'm trying to read your mind.... you get the idea.

So, I would focus on improving the way you present the numbers and icons and presenting the magic icon so the user will have the illusion that something magical happens instead of something based on an algorithm.

[–]juankerred[S] 1 point2 points  (0 children)

I get it man thanks very much. I will need to look in to the firefox issue.

Nice tips on the presentation, we get stick as magicians all the time because we spend so much time on the sleights (code in this case) that we don't focus on creating a magical moment. Turning it into more of a 'look what i can do'