Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ₯– ADDED | Baker agent loop #4

Open
QuentinDEME97 opened this issue May 16, 2024 · 0 comments Β· May be fixed by #7
Open

πŸ₯– ADDED | Baker agent loop #4

QuentinDEME97 opened this issue May 16, 2024 · 0 comments Β· May be fixed by #7
Labels
enhancement New feature or request

Comments

@QuentinDEME97
Copy link
Owner

Description

The goal of this feature is to implement the Baker(Seller) agents. Here is the list of their loop :

  • πŸ›’ Buy furnitures
  • πŸ§‘β€πŸ³ Produce bread (And adjust bread price)
  • πŸ₯– Sell the bread
  • πŸ’° Pay taxes and invest

Details

πŸ›’ Buy furnitures

For now, agents will buy furnitures in order to be full of stock (Later they will probably need to optimize this task).

πŸ§‘β€πŸ³ Produce bread

Before bread production, bakers need to turn wheat into flour. Then, they can produce the bread.
They also need to adjust the bread price in function of the production cost.

πŸ₯– Sell the bread

In this issue we will just implement the sell_bread function which remove a bread from the stock and add money to the checking account.

πŸ’° Pay taxes and invest

Every 30 periods (days), baker will have to pay taxes and then transfer a part of their money from the checking_account to another one.

@QuentinDEME97 QuentinDEME97 added the enhancement New feature or request label May 16, 2024
@QuentinDEME97 QuentinDEME97 linked a pull request May 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant