Suggested Framework For Text-Based Game

Started by
0 comments, last by Amadeus H 10 years, 11 months ago

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

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.

This topic is closed to new replies.

Advertisement