How novanzulhilmi/binego works
This is a small console marketplace for products sold by negotiation or auction. Buyers browse available products, participate in the selected sale, and—if successful—complete a purchase that updates balances, marks the product sold, and records a receipt. Sellers can add negotiation or auction listings, and the app also shows inventory and transaction history. The six Java files form the complete runtime map. Main.java is excerpted only in part, so details of its menu and auction loop are limited to the shown excerpts.
Main entry points: Main.java Menu and sales flow · Produk.java Product state · ProdukNego.java Negotiation rules · ProdukLelang.java Auction rules
Components 7
Console app
- Menu and sales flow
Main.java
Sale models
- Negotiation rules
ProdukNego.java - Auction rules
ProdukLelang.java - Automated bidder
BotPenawar.java
Products and transactions
- Product state
Produk.java - Receipt record
Transaksi.java
Other components
- Buyer or seller
Connections 8
- Buyer or seller → Menu and sales flow: uses console
Main.java - Menu and sales flow → Negotiation rules: evaluates offers
Main.java - Menu and sales flow → Auction rules: runs auction
Main.java - Menu and sales flow → Automated bidder: creates bidders
Main.java - Menu and sales flow → Product state: lists and updates
Main.java - Menu and sales flow → Receipt record: records purchase
Main.java - Negotiation rules → Product state: extends
ProdukNego.java - Auction rules → Product state: extends
ProdukLelang.java