Skip to main content

Questions tagged [mvc]

Model-View-Controller, is a design pattern that separates (decouples) game objects data from it's presentation and ways of manipulation.

0 votes
0 answers
9 views

I wrote a Board.java class which draws the initial board draws the Reset button draws the label to indicate whose turn is it In the Main class: I initialized a Pane. Initialized the Board's board ...
zeeshanseikh's user avatar
0 votes
1 answer
160 views

I am creating a Yugioh java game with MVC. I was wondering wich is the better way to manage game states with MVC? I tought maybe I can use State Pattern in Model section with DrawPhase, ...
Zetsu_Zetsu's user avatar
1 vote
1 answer
802 views

I have written a version of Castle that so far plays through the terminal. I have recently refactored my code (which can be found here) to use the MVC design pattern. After I have added a GUI I will ...
theJavaGuy's user avatar
0 votes
0 answers
60 views

Im Phil and try to figoure out the best approach for my app. I was searching Stack for my question but I didnt find a completely answer. Assumptions: It will be multiple user who can see in real time ...
Gierlos's user avatar
3 votes
1 answer
229 views

Bear with me this will take some explaining... I'm trying to design my game as close to Model-View-Controller design principles as possible. At least in and so far as I understand those principles. ...
Thoumis Tiechy's user avatar
1 vote
1 answer
2k views

Sorry if the title is too broad, I'll try to explain this in a more specific way down here. We need to create a board-game in Java for an University project and we have to use the mvc pattern for it. ...
EsotericVoid's user avatar
0 votes
3 answers
2k views

Suppose one is working on a game which has more than one component of code where the data, view, and logic is disjoint from the workings of another component of code (i.e. all games have a main menu ...
Alex W's user avatar
  • 101
0 votes
1 answer
157 views

I am trying to implement a simple game "Bulls and cows" in c#. It is a final project of my university course about design patterns. The target of the game is simple - try to guess the opponent number. ...
snoward's user avatar

15 30 50 per page