close-icon
GAME POINTS
2015
Travis : https://travis-ci.org/GBouffard/game_points.svg
Project stack:

Tested via: unit tests and quality assurance
This is a simple custom points calculator system that adds the total points awarded to a player for a number of items they have collected in a game. This was the technical test for a junior developer at Kahoot! in London where I had my first job. Kahoot! is not based in London anymore so I can publish that technical test that is not live anymore. Instructions: - Items are identified/named as A, B, C and D. - Items are scored individually. - Some items are worth more if collected in multiples: collect n of them, and you’ll get y points. For example, item ‘A’ might be worth 50 points individually, but this week we have a special bonus: collect three ‘A’s and they’ll be worth 200 points instead of 150. In fact this week's rewards are: - Item A: 50 points / Bonus: 200 for 3 - Item B: 30 points / 90 for 2 - Item C: 20 points - Item D: 15 points Our points system accepts items in any order, so that if we collect a B, an A, and another B, we’ll recognise the two B’s and score them at 90 (for a total score so far of 140). Game on!