Advertisement
Guest User

Untitled

a guest
Oct 6th, 2015
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. Please devote 4 hours to the following task.
  2.  
  3. ## Challenge
  4.  
  5. Create a ping pong bracket which keeps track of who is the current office champion at ping pong.
  6.  
  7. ## Requirements
  8.  
  9. 1. Allow players to register and login
  10. 2. Allow a player to view the ping pong bracket rankings in the office
  11. 3. Allow a player to log the result of a series of games (time played, score of each game).
  12. 4. Allow a player to view their ping pong results history
  13. 5. Allow a player to customize their name and password and any other properties
  14.  
  15. Games are inputted on the honor system. A game inputted by one player will be said to be correct.
  16.  
  17. ## Games
  18.  
  19. Games follow standard ping pong rules. They are games to 21, which need to be won by a two point margin.
  20.  
  21. ## Leaderboard
  22.  
  23. Please design how the algorithm for how a fair leaderboard should work. Please feel free to consult any refernece that you like.
  24.  
  25. Please keep in mind the following factors:
  26.  
  27. 1. Not all wins should count the same. eg. a player ranked 4 beating a player ranked 5 should not count the same as a player ranked 5 beating a player ranked 1.
  28. 2. When the leaderboard is first created all the users will be equal in ranking
  29.  
  30. ## App
  31.  
  32. Please add all necessary models, controllers, gems and tests. The UI is totally up to you. Feel free to use bootstrap or any other framework.
  33.  
  34. ## Evaluation criteria
  35.  
  36. We are evaluating you as a backend ruby developer so we are most interested in evaluating the following:
  37.  
  38. 1. Can you complete the assignment as tasked?
  39. 2. Can you create a clean architecture?
  40. 3. Is your code tested?
  41. 4. Can you walk through your code and explain how it works?
  42.  
  43. Please upload your code to a public repository and send us a link when it is ready. Bonus points if you deploy it to some host (ideally heroku)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement