Code Monkey home page Code Monkey logo

debt_guardian's Introduction

DebtGuardian

Given a list of transactions between individuals in the form A,B,X, where A owes B X amount of money. The DebtGuardian system can process these transactions and provide insights into the financial relationships between individuals.

Functions that are to be performed

  1. Process Transactions: The system must take a list of transactions in the form A,B,X and process them to update the respective debts between the individuals involved.
  2. Query Debt Owed by Person: A user must be able to query how much debt a specific person owes to all other users.
  3. Query Money Owed to Person: A user must be able to query how much money is owed to a specific person by all other users.
  4. Query Person with Most Money Owed: The system should be able to identify the person to whom the most money is owed.
  5. Query Person with Most Debt: The system should be able to identify the person who owes the most money to others.
  6. Command Line Interface: The system should provide a command-line interface for users to input transactions and query the insights mentioned above.

Steps to access the system

  1. Clone the repository to your local machine.
  2. Ensure that you have Golang installed on your machine.
  3. Open a terminal and navigate to the directory where the repository is cloned.
  4. Run the go mod tidy command to ensure you have all the required modules present.
  5. Run the go build command to ensure the binary is made, and the build is done.
  6. Run the main game file using the go run command: go run main.go .
  7. Follow the on-screen instructions to access DebtGuardian. Use the keyboard to input your choices during the game.
  8. Have hassle free debts using DebtGuardian

Contributing

If you would like to contribute to the game, feel free to submit a pull request. Please make sure to follow the coding standards and include appropriate comments in your code. Also, update the README.md file with any necessary changes.

debt_guardian's People

Contributors

schrute08 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.