Like the title say ^
I want to -reproduce- a game of cards. The name of the game is Hearthstone, because I like it. But I want to make it 'better' so I choose to give it a try. Please try to see it as me, as an exercise and nothing to do with commercial or anything else.
The main problem I have:
the structure ! How can you advise me about it's structure? The engine. The CORE as I say it. I think, the core is the graphic interface and everything orbits and links around it. The problem is how to make this Core? Now I have 2 problems - one of visibility as the code is arranged (in files,all together,in objects), and one of complexity as the details in code go. I wish I can make it on objects somehow... I partially did it (I made a Card object)- but that's it I could think of successfully . I was thinking of a Table object, but I eject it. The card object have 4 properties on itself, and is rapidly becoming very confusing. If I will have to add more properties to a card - custom stuff- it will become almost unreadable.
Any good ideas, are more than welcome.
Present an attack plan about how to proceed - from your experience is best.
In a way I imagine this is the most fragile part of the programming area and not many are willing to express their inner fight with this monster that is - the structure-.
Thank you and I hope to a nice discution !
What I have tried:
everything I tried - now I will listen.