Presentation:

https://docs.google.com/presentation/d/11RL6MnGBgOKGa_OfPyGaGEHSmxlDiR-bN_5mJwgMgHY/

Implementation:

PHP: https://rb.csnzoo.com/r/285280/ Resources: https://rb.csnzoo.com/r/285281/ DB: https://rb.csnzoo.com/r/285279/

User Story:

As a Wayfair employee, I want to have a posibility to take a risk with a betting my Reward Wayfair $ to win more WF $. Despite it brings a risk, it's like a game and so much fun.

Rules

People want to participate can buy one or more tickets with the numbers that they want. The Lottery typically takes place every week. There needs to be at least 100 tickets sold.

Q: What is the first prize? A: Winning number is exactly the drawn number. It consists of 70% of the amount collected. If there is no exact match, the amount would be carried over for next round.

Q: What is the second prize? A: Winning number(s) are the closest to the drawn number. It consists of 20% of the amount collected.

Q: What is the third prize? A: Winning number(s) are the second closest to the drawn number. It consists of 10% of the amount collected.

Q: How much is a lottery ticket? A: A lottery ticket is WF $5.

Q: Can I select any number? A: You can select any number in the range. Currently the range is 1000 - 9999.

Q: What if other people choose the same number as me? A: In case you win, you will share the prize with all other users that chose the winning number.

Built With

  • brain
  • happiness
  • php
+ 6 more
Share this project:
×

Updates