Storage Wars is an auction-based game and simulation software. The project creates a system where warehouses are sold via auctions, and players, bots (AI), and various products are involved. Players bid in auctions, add items to their inventory, and engage in trading.
- Warehouse Management: Warehouses can be created, filled with random products, and put up for auction.
- Products: A wide variety of products with different rarity levels, production dates, and values.
- Auctions: A dynamic auction system where both real players and AI can bid.
- Shops: Players can sell their items to shops to earn money.
- Player Management: Players and AI-based customers can be created and managed.
- Python 3.8 or higher
The project uses Python's built-in modules (e.g., random
, time
) and standard libraries. No additional dependencies are required.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/storage-wars.git cd storage-wars
-
Ensure you have Python installed with the required version.
-
Run the project with the following command:
python Storage-wars.py
-
Upon starting the program, you will see the main menu:
- Join an auction
- Check your inventory
- Sell items
-
In the auction, players take turns to bid. A player can choose to skip bidding or leave the auction.
-
The winner of the auction receives all the items in the warehouse, which are added to their inventory.
-
Players can sell their items to shops to earn money and create more budget for future auctions.
DepoSavaslari
: Base class. All other classes are derived from this.Warehouse
: Manages warehouses and related operations.Product
: Contains products and their properties.Shop
: Includes shops and item trading operations.Auction
: Manages the auction process and rules.Customer
,Player
,AI
: Represents players and bots.
To contribute to the project, follow these steps:
- Extend the
Product
orShop
classes to add new products or shops. - Modify the
Auction
class to add new rules or features to the auction process. - Improve the AI bidding logic by editing the
AI
class.
Contributions are welcome! Please open an issue to discuss your changes before making them.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/new-feature
). - Commit your changes (
git commit -m 'Add a new feature'
). - Push to your branch (
git push origin feature/new-feature
). - Open a pull request (PR).
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or suggestions about the project, feel free to contact us:
- Email: [email protected]
- GitHub: Furkan-Demircan
Have fun and good luck!