Create README.md

This commit is contained in:
Splatink
2025-04-16 18:32:33 +03:00
committed by GitHub
parent 47654565d7
commit 2dd4b3cb9b

17
README.md Normal file
View File

@@ -0,0 +1,17 @@
Buy Sell Ink is a simple game written in C for fun and to learn programming.
It is a game about buying and selling items to customers, with the goal of getting the best score at the end.
How it works:
Customers request an item and offer you gold for it
Have it? You can accept this deal or try to negotiate a better price.
If you are successful at negotiating you get 2 point. Lose the negotiation howver and lose a point. Accept the deal without negotiating awards 1 point.
Don't have it? Buy it. You buy items at half the price.
But be careful. Items 7-9 (Ink, Weed and Crypto) are illegal! Sell them and the police will get suspicous. If you keep it up you might get arrested and give a hefty fine, unless...
Illegal items are very negotiable in their price making them much more profitable. Sometimes they may be worth the risk.
The game ends after your selected number of turns expires and you get a score. Try to get the best score possible.
The game could also end if you are out of money. You get 1 turn to try and sell your inventory if that's the case, otherwise game over!
The game can simply be compiled with gcc "gcc main.c" and is played on the terminal.