Jump to content
  • Advertisement
Sign in to follow this  
Scene68

Suggested Framework For Text-Based Game

This topic is 1863 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!