TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“Game of Shells” 15 Minute Interview Test For Front-End Engineers

3 pointsby fold_leftover 11 years ago

6 comments

costea123over 11 years ago
In 13 mins - <a href="http://jsfiddle.net/jtR9E/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;jtR9E&#x2F;</a> Found this task pretty interesting, of course i used random, cause that&#x27;s a normal think i guess. This test tells the company, the following things about you: 1) How do you do in a stressed situation; 2) What is the code quality you write; 3) What you&#x27;re trying to do first, functionality or beauty.<p>In the beginning a had no idea what should I do, so I found it quite complicated, but then after a bit of thinking this was quite easy .<p>Well yes in order to make it more animated I think this should have a different approach.
djgrantover 11 years ago
After 15 minutes - <a href="http://jsfiddle.net/NSdyg/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;NSdyg&#x2F;</a> Another 5 to make it work (almost) - <a href="http://jsfiddle.net/NSdyg/1/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;NSdyg&#x2F;1&#x2F;</a><p>I don&#x27;t do much JS (as you can likely tell) but found the task approachable. I think that the low barrier to entry is a good thing for an interview question.<p>My approach is described in the comments. I started by writing it out and then went from there.
dustinschererover 11 years ago
s&#x2F;shellgame&#x2F;cardflipgame<p>So. I took the exercise in a different direction. I thought of game of shells and my mind got stuck on the card flip matching game, so that&#x27;s what I went with. I spent most of my time worrying about how much time had gone by, which wasn&#x27;t helpful, but I think it came together.<p>I think the idea of this is great, and I may use a deviation of it for future pre-hire peer reviews.
wanhaloover 11 years ago
dunno how to post anonymously because the jsfiddle url contains my user name :(<p><a href="http://jsfiddle.net/wanhalo/G5ShW/1/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;wanhalo&#x2F;G5ShW&#x2F;1&#x2F;</a>
aamirafridiover 11 years ago
done it in 20mins but quite messed up (working) code <a href="http://jsfiddle.net/aamir/H7mmd/2/" rel="nofollow">http:&#x2F;&#x2F;jsfiddle.net&#x2F;aamir&#x2F;H7mmd&#x2F;2&#x2F;</a>
zidanover 11 years ago
done it in more than 15min :( <a href="http://fiddle.jshell.net/v6u6A/4/" rel="nofollow">http:&#x2F;&#x2F;fiddle.jshell.net&#x2F;v6u6A&#x2F;4&#x2F;</a>