Skip to main content
GameDev.net gamedev.net
🔒 Locked

Suggested Framework For Text-Based Game

Started by Scene68 May 17, 2013 at 7:39 AM 0 replies 1.1k views
Original Post
Scene68
Scene68

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

Amadeus H
Amadeus H

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.