In this solution you will find a base project dealing with Political Elections, as well as some test generators to help get things started.
The main goal is to implement the business logic for both election types, Simple Election and Ranked Choice Election.
For simple election, it’s the commonly found “Majority wins”, whereas with ranked choice election you will need to consider multiple votes per ballot and their respective ranks.
This console app was created in Visual Studio 2022 using net6.0 (LTS). If this is an issue, let us know and we can send you what ever project version you need.
You can learn more about ranked choice voting via google. Here are some good references:
- https://ballotpedia.org/Ranked-choice_voting_(RCV)
- https://fairvote.org/our-reforms/ranked-choice-voting/
Feel free to clean up project structure, modify any existing classes, use your favorite patterns, etc.
If you have any questions at all about the requirements or ranked choice voting, reach out any time and we can go over it.