Skip to content

v1.2

Compare
Choose a tag to compare
@Darkarche3 Darkarche3 released this 21 Mar 12:22
· 416 commits to master since this release
b161a54
  1. Added a Booklist class to store books borrowed by the user.
  2. Added a MeritScore class to keep track if the user can borrow a book.
  3. Added a Book class to create a new book object.
  4. Added a Borrow command to allow users to borrow a book.
  5. Added a Return command to allow users to return a book.
  6. Added a Donate command to allow users to donate a book.

User needs a merit score greater than 0 to borrow a book.
If a user borrows a book, the merit score will reduce by 1.
If a user donates or returns a book, the merit score will increase by 1.
Currently, a user can only borrow one book at a time.

Donate a book
image

Borrow a book
image

Return a book
image