I asked my gf for an idea for a SoM project, something she would personally find really useful and/or fun. After some debating, we arrived at a modular, easy to use, election simulator, that allows people who like to see politics play out, more easily see how different elections.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I added a button to be able to import exported party lists!!! Finally, I don't need to manually input all of this data! :D
I addded exporting to CSV both for the party botes, and the seat distribution. It was a bit ahrder than expected, and I had to break my head a bit to make it efficient enough for my taste, but here it is now!
Tomorrow i'll implement importing a CSV party list, but for today it's already way too late for me to be completely honest, so bedtime it is...
I have worked on improving the code, making the percentage function work better, and adding an auto-sort for the parties from highest to lowest votes. I'm going to make a first ship, mainly to get it ship certified, I think. :D
Welp, I have added a percentage mode to this. You can either use it to automatically calculate how many votes from the pool a party has based on percentage, or, if you set the total amount of votes to a big number, just have percentual seat distribution. Yes, htis was also personally requested by the lady, how did you guess?
I have implemented the D'Hondt method for seat assignment, as per the personal request of my gf
Welp, did the starters. Just percentages for now. Let's try adding seats and more complex election methods...