HubSpot / facewall

Grid visualization of Gravatars for an organization
http://github.hubspot.com/facewall/
MIT License
138 stars 37 forks source link

Game not showing employees #6

Open struiling opened 10 years ago

struiling commented 10 years ago

Got /facewall/ working, but going to /facewall/game gets me a shell page with my org name, but no employees loading. Is the game part supposed to be working out of the box (or, er, repo)? There are no instructions for the game in the readme.

adamschwartz commented 10 years ago

Do you see any errors in the console? If not, could you please post a screenshot or provide browser details?

One component which doesn't work out of the box is high scores. If you want to have a scoreboard, you'll need to use your own Reddis-style key-value store. (At HubSpot, we use Gamera.) If you see any errors related to high scores that may be the issue. (Although pre_fetch is set to false for the HighScores collection so that likely isn't the issue unless you've played with the application.coffee configurations yourself.)

theold190 commented 9 years ago

What I have noticed is that game starts only if there are 20 employees loaded. It works for me as I have more than 20 entries, but doesn't work for the example data provided in this repository (~12-13 employees). Don't know where '20' actually comes from.

eighnjel commented 9 years ago

https://github.com/HubSpot/facewall/blob/master/app/views/facewallGame.coffee#L63

adamschwartz commented 9 years ago

@theold190 @eighnjel thanks. It was I while ago I wrote this, but I’m guessing the 20 was what I decided was needed to make the game worthwhile, based on the number of guesses and rounds. It is certainly a arbitrary distinction.

Sorry the example data doesn’t meet the requirement needed. I’ll make a note to increase the number of example employees. Thanks