I need a c# developer to write a small solution to generate lottery number
- or -
Post a project like this2740
$$
- Posted:
- Proposals: 1
- Remote
- #1320113
- Awarded
Description
Experience Level: Intermediate
• We are interested in your technical approach to solving the problem presented.
• You are welcome to provide supporting notes, preferably as an external document (Word document for example), to explain your approach, caveat any design choices and explain how you would go about extending your solution should the requirement arise.
• You are welcome to use any of the namespaces and project types available in .NET 4.5.1 -> .NET 4.6.
• You are welcome to use any third party libraries that you feel are beneficial to completion of the solution.
• You must use C# as your language of choice for server-side code.
Scenario
You are tasked with creating a lottery number generator using Test-Driven Development practices and SOLID principles.
Conditions
1. Lottery numbers range from 1-49 inclusive.
2. You must generate a non-repeating set of six lottery numbers.
a. Bonus: Parameterise your solution so that any number of sets of lottery numbers can be generated.
3. You must present the set(s) of lottery numbers generated through a suitable interface.
a. Bonus: Present each range of numbers per generated set in different colours according to appendix 1.
b. Bonus: Write each range of numbers per generated set to a text-file located on the server.
4. You must expose an API to enable remote querying of the lottery number generator service.
a. When called from a remote API you do not need to transmit or support any colour coding of results as specified in condition 3a.
b. When called from a remote API you do not need to persist the results to a text-file located on the server as specified in condition 3b.
Appendix 1
• 1-9 Red
• 10-19 Blue
• 20-29 Green
• 30-39 Orange
• 40-49 Purple
• You are welcome to provide supporting notes, preferably as an external document (Word document for example), to explain your approach, caveat any design choices and explain how you would go about extending your solution should the requirement arise.
• You are welcome to use any of the namespaces and project types available in .NET 4.5.1 -> .NET 4.6.
• You are welcome to use any third party libraries that you feel are beneficial to completion of the solution.
• You must use C# as your language of choice for server-side code.
Scenario
You are tasked with creating a lottery number generator using Test-Driven Development practices and SOLID principles.
Conditions
1. Lottery numbers range from 1-49 inclusive.
2. You must generate a non-repeating set of six lottery numbers.
a. Bonus: Parameterise your solution so that any number of sets of lottery numbers can be generated.
3. You must present the set(s) of lottery numbers generated through a suitable interface.
a. Bonus: Present each range of numbers per generated set in different colours according to appendix 1.
b. Bonus: Write each range of numbers per generated set to a text-file located on the server.
4. You must expose an API to enable remote querying of the lottery number generator service.
a. When called from a remote API you do not need to transmit or support any colour coding of results as specified in condition 3a.
b. When called from a remote API you do not need to persist the results to a text-file located on the server as specified in condition 3b.
Appendix 1
• 1-9 Red
• 10-19 Blue
• 20-29 Green
• 30-39 Orange
• 40-49 Purple
Subramaniam S.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
100%
Last project
13 May 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies