I have created all the classes and methods inside them, but it is a huge problem for me to create an interactive console menu. For lists I must exclusively use doubly linked lists, I must not use libraries. Probably, in addition to these methods written by the professor, there should be some additional ones that would further help in class cooperation. Only I can't see it. The professor mentioned to me that the method for changing the player balance and the casino budget (after a win) should be inside the Pseudoroulette class, which has no instance of Casino class. There are a lot of things that confuse me, it would probably be easier for me if it wasn't for the objects that are created inside the list. Or if there was no list of games, which further complicates the matter. If anyone has an idea, I'd appreciate it.
#Ideas for creating an interactive menu
8 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Creating the menu system should be a separate issue no?
Like, you just do it, then you hook it to the other components.
Yes, but the problem is with hooking other components. I don't have a good idea on how to do it exactly with the given methods.
I know this isn't the best way of asking for troubleshoots considering I don't even have a bug or a specific code to provide. I am just having a hard time putting everything together.
According to the (very, very horrible) specification, the player balance change is performed through operator+ (!!!), which probably takes a player as the right-hand side.
To be honest with you, many would find it a very hard time comprehending (and making sense of) that specification too.