Jump to content

  • Log In with Google      Sign In   
  • Create Account


Suggested Framework For Text-Based Game


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Scene68   Members   -  Reputation: 108

Like
0Likes
Like

Posted 17 May 2013 - 01:39 AM

I recently tried to used MVC for a text based game. However, it appeared to me, that it became much complex to handle it when it grows bigger. The biggest problem i had been facing was the number of validations it requires on each step. That generates convoluted code algorithms, badly nested if-else conditions and ultimately lot of bugs in the logic.

I want some suggestion, on this, if there is some available framework that can help coding text based games in a better organized way?

Was looking into using Entity but unsure whether that would work well for a game of this kind that could be ported to any platform. Any replies will be greatly appreciated.

Thanks



Sponsor:

#2 Amadeus H   Members   -  Reputation: 1180

Like
1Likes
Like

Posted 17 May 2013 - 03:13 AM

Any framework, poorly implemented, will result in convoluted and messy code.

Properly implemented MVC should be fine for a text-based game. What matters more is what you feel works best/makes you more efficient/best fit for the language you use (MVVM for C# for example).

 

Perhaps it would be better to look at the solution you arrived at with MVC to pinpoint what could improve, instead of changing it completely.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS