Linked Questions
13 questions linked to/from Why are MVC & TDD not employed more in game architecture?
26
votes
4
answers
4k
views
How to design a game's software such that it is easy to unit test?
Is it practical to use a testing framework like JUnit in a game development situation? What sort of design considerations can you follow in order to make your game more testable? What parts of a game ...
25
votes
6
answers
9k
views
Is Test Driven Development viable in game development?
As being Scrum certified, I tend to prone for Agile methodologies while developping a system, and even use some canvas from the Scrum framework to manage my day-to-day work.
Besides, I am wondering ...
18
votes
3
answers
31k
views
MVC (Model-View-Controller) Game Engine Architecture - Yes or No? [closed]
I am reading one great book, Game Coding Complete, and that book strongly recommends using MVC (Model-View-Controller) approach, with three key layers:
Game Application Layer
Game Logic
Game View
To ...
20
votes
2
answers
3k
views
Component-Based System online resources [closed]
I've been considering moving to a more component-based approach in my games. Does anyone else have any decent reference material or sample implementations that would help make this transition a little ...
9
votes
3
answers
3k
views
MVC or Components, or both?
I'm an experienced developer but recently I've been wanting to get into game programming but as you know game development is an entirely different beast from most other forms of programming (perhaps ...
2
votes
3
answers
983
views
Design pattern on class level, how to do separation of concerns through mvc or alike?
Say i had a Monster class
public class Monster {
}
Now this class has a set of properties like
...
7
votes
1
answer
651
views
How to represent a game character in code?
In a previous game I wrote I had a game character class. This class tracked the location, velocity, and a set of states. Except the states were tied very close to the animation. Each state would have ...
5
votes
1
answer
1k
views
Separating Sprites from Models with PyGame
So I'm trying to code a game using the Model-View-Controller pattern, and therefore have a need to separate the models for my game objects with their sprite representations. The problem that I'm ...
6
votes
2
answers
573
views
Experiences of test-driven devleopment in large projects
I've used TDD in personal projects, but I wondered if anyone had any experience of using this approach across a large team? Was there resistence to the test-first approach? Did you keep code coverage ...
1
vote
1
answer
1k
views
Any link / tutorial of how to develop MVC pattern? [closed]
I want to learn how to develop a MVC pattern, but i can't find any site in where they focus it to Games and not to Browser / Windows calculator.
Would anyone please link me a tutorial of how to ...
6
votes
1
answer
222
views
Applicability of Business Architectures in XNA 4
I've done a lot of C# programming and the architecture we use of late is a MVC => PresentationService => Domain Service And/OR DataService => Repository with a UnitOfWork and a messaging bus. In web ...
3
votes
1
answer
507
views
Design suggestions for my Entity module
I need some advice on how to design the Entity module in my game, how to apply the MVC pattern and generally how the Entity should interact with its controller and its representation.
First some ...
1
vote
1
answer
365
views
Unit selection - logic & screen communication
I'm building a game using SFML, with disconnected logic & screen systems that run on different threads and communicate through synchronised buffers. Now, this system worked perfectly well when I ...