Hello there.
I have written a simple python terminal game for a computer science course portfolio project. A game is about buying and selling weapons you stock up on merchandise and attempt to sell it to customers.
The games code revolve around for classes
(Store
, Supplier
, Customer
and Market
) which interact with one another throughout a game by a main while loop.
The gameplay follows this path:
- A short intro sequence in which you name your store and stock up on merchandise.
- You open up store for a day and try to sell your stock( 3 customers per day).
- Each customer has his own randomized preferences and will state them.
- You can attempt to sell a chosen weapon. The success of sale depends on customers preference and the price you set
- After you close shop you restock and wait for another day.
Here is a link to GitHub repository:
Top comments (0)