This repository has been archived on 2026-01-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-04-16 21:13:53 +03:00
2025-04-16 00:16:30 +03:00
2025-04-16 21:13:53 +03:00
2025-04-16 18:37:16 +03:00

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 points. Lose the negotiation however and lose a point. Accepting 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.

Description
A simple game written in C where you buy and sell items to customers to make the most money and get the best score
Readme BSD-3-Clause 52 KiB
Languages
C 100%