3 ms·
A few friends and I had dinner together every Wednesday at Tied House. I made a website to split the bill and track debt, so that every week whoever owed the mo
by MarkSweep 9y ago
A few friends and I had dinner together every Wednesday at Tied House. I made a website to split the bill and track debt, so that every week whoever owed the most money to everyone paid the bill. The levels of debt stayed pretty low.
https://github.com/AustinWise/DinnerKillPoints/ https://github.com/AustinWise/DinnerKillPoints/
The heart of the system is a bill splitter:
https://github.com/AustinWise/DinnerKillPoints/blob/db54eec94b0698b38cdca6ca628acbc3861374a8/src/DkpWeb/Util/BillSpliter.cs https://github.com/AustinWise/DinnerKillPoints/blob/db54eec9...
And some simple graph algorithms to analyze the debt-graph and render the results with GraphViz:
https://github.com/AustinWise/DinnerKillPoints/blob/db54eec94b0698b38cdca6ca628acbc3861374a8/src/DkpWeb/Util/DebtGraph.cs https://github.com/AustinWise/DinnerKillPoints/blob/db54eec9...