Dessert Stock Market Game

Do you want the game to keep the decimals or not?


  • Total voters
    13
  • Poll closed .

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
The Dessert Stock Market Game
Version 2.7.6
I made a simple game in C++ that I invented in TheHelper chat. It's called the Dessert Stock Market game; it's simpler than it looks. The rules are explained in the game, but I will tell them to you here anyway:
  • There are 4 different types of stock: Cookies, Muffins, Pies, and Cakes.
  • You trade stocks for other stocks based on the Current Exchange Rate (CER).
  • For example, if the CER says that 2 Cookies = 1 Muffin, you could trade 2 muffins for 4 cookies.
  • Each player starts out with 2 Cookies, and they trade them from there.
  • You can set a goal, or just play for a really long amount of time.
  • The game does support 1-player.

Screenshot(s):
dsm1zs9.jpg

desktop22289.png

dsmv231gp3.png

dsmv232mj8.png

If you want anymore information, or if you have feedback, please post it here.

To-do list:
  • Add a version using money
  • Typing c, m, p, and a instead of Cookies, Muffins, Pies, and Cakes DONE
  • Add an objective DONE
  • Make sure you can't enter incorrect values DONE
  • Allow for 1-player gameplay DONE
  • Add a version number DONE
  • Fix pies to cakes DONE
  • Change the exe name to Dessert Stock Market DONE
  • Get results from the poll
  • Collect feedback
  • Improve the game

The file attached to this post. (Or just click the attachment)​
 

Attachments

  • DSM.zip
    300.6 KB · Views: 321

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
This is really neat, Knight! :thup:
Thanks; the people who played it on the chat seem to think so, too. Get ready for a version of this game that will be playable on the chat :D
 
Reaction score
456
> Get ready for a version of this game that will be playable on the chat :D
Don't get ready too early. It might take a while :).

Nice game (Y)! (better with more people, though)
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
> Get ready for a version of this game that will be playable on the chat :D
Don't get ready too early. It might take a while :).

Nice game (Y)! (better with more people, though)
Thanks. Hopefully you'll be able to overcome those annoying problems you're having :p

I updated the first post with a bold, red warning. It's somewhat hard to miss.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
does the cakes work now? :D
Um...the pies to cakes does not work, so if you're planning on getting some cakes, get them from muffins or cookies ;) I am working on fixing that as we speak.

Also, I added a poll: do you want the game to keep the decimals or to do away with them? Vote now :thup:
Added a To-do list as well.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
I'm working on the next update. It should show up sometime today or tomorrow, but more feedback is always accepted :thup:
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Pineapple gave me the suggestion to create a version of the game that uses money. I will be working on that as well as anything else that you guys think would improve the game.
Thanks :thup:
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
I fixed the link (again); it should be a direct link to the file now. If it isn't, please let me know. Thanks :thup:
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
There are only 2 more days left for the poll, and I can't do very much based on a tie ;)
 

Artificial

Without Intelligence
Reaction score
326
A bug:
I was playing with 2 players (Artificial and Artificial).
On the first round the CER was 1 cookie = 1 muffin (can't remember the rest).
Both changed their cookies to muffins.
Then the CER became 2 cookies = 1 muffin. The first player changed his muffins to cookies, and the other changed 0 muffins to cookies.
Guess what they ended up with? 0 cookies and 0 muffins both. :)

And you could make it so, that it wouldn't quit the game when you enter "1" as the answer for how many players there are, but it'd just ask again. ^_^

> I'll learn how to do that...today
Good. :)
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
A bug:
I was playing with 2 players (Artificial and Artificial).
On the first round the CER was 1 cookie = 1 muffin (can't remember the rest).
Both changed their cookies to muffins.
Then the CER became 2 cookies = 1 muffin. The first player changed his muffins to cookies, and the other changed 0 muffins to cookies.
Guess what they ended up with? 0 cookies and 0 muffins both. :)

And you could make it so, that it wouldn't quit the game when you enter "1" as the answer for how many players there are, but it'd just ask again. ^_^

> I'll learn how to do that...today
Good. :)
I'm fixing the many bugs and adding some more functionality to the game. The fixed version had better be out soon.

I won't learn how to do that today, sorry :p
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Another update with version 2.5! I added new screenshots and a little bit of functionality (thanks to SFilip for the ideas for this update :thup:). Download the latest version from the attachment or the link. Also, if you want to submit any screenshots, feel free to do so. Input from other people is always greatly appreciated.

Also, thanks for everyone who voted in the poll! The decimals are staying until further notice.
 

UndeadDragon

Super Moderator
Reaction score
447
Nice game. When you first play it, it is really complicated, but you get used to it. A version for the chat will be cool, as well as having a version with money in it.

I found a bug with it though. If you put a letter into "How much of the stock would you like to trade" it will accept it and then at the end of the round, when you press enter for the next round the program crashes and closes.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Nice game. When you first play it, it is really complicated, but you get used to it. A version for the chat will be cool, as well as having a version with money in it.

I found a bug with it though. If you put a letter into "How much of the stock would you like to trade" it will accept it and then at the end of the round, when you press enter for the next round the program crashes and closes.
Thanks for the feedback :thup:
I don't think C++ can operate in a chat room, but after maybe a few months, I might be able to make a version that operates online ;)
I'm working on the version with money in it.
I sort of fixed the bug; now the program doesn't crash, it just goes to the next round.

I'll release that version once I make some more changes. Keep the feedback coming :thup:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top